mirror of
https://github.com/linuxserver/docker-github-desktop.git
synced 2026-01-17 10:41:42 +08:00
install deps manually to not break versioning
This commit is contained in:
parent
b345cd7770
commit
75ae916249
20
Dockerfile
20
Dockerfile
@ -13,8 +13,24 @@ RUN \
|
||||
apt-get install --no-install-recommends -y \
|
||||
chromium \
|
||||
git \
|
||||
gnome-keyring \
|
||||
gvfs-bin \
|
||||
kde-cli-tools \
|
||||
libatk1.0-0 \
|
||||
libatk-bridge2.0-0 \
|
||||
libatspi2.0-0 \
|
||||
libcups2 \
|
||||
libglib2.0-0 \
|
||||
libglib2.0-bin \
|
||||
libgtk-3-0 \
|
||||
libnotify4 \
|
||||
libnspr4 \
|
||||
libnss3 \
|
||||
libsecret-1-0 \
|
||||
libxtst6 \
|
||||
ssh-askpass \
|
||||
thunar \
|
||||
trash-cli \
|
||||
xfce4-terminal && \
|
||||
echo "**** install github-desktop ****" && \
|
||||
if [ -z ${GHDESKTOP_VERSION+x} ]; then \
|
||||
@ -24,14 +40,14 @@ RUN \
|
||||
curl -o \
|
||||
/tmp/ghdesktop.deb -L \
|
||||
"https://github.com/shiftkey/desktop/releases/download/${GHDESKTOP_VERSION}/GitHubDesktop-linux-${GHDESKTOP_VERSION#release-}.deb" && \
|
||||
apt install --no-install-recommends -y /tmp/ghdesktop.deb && \
|
||||
dpkg -i /tmp/ghdesktop.deb && \
|
||||
echo "**** install codium ****" && \
|
||||
CODIUM_VERSION=$(curl -sX GET "https://api.github.com/repos/VSCodium/vscodium/releases/latest" \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
||||
curl -o \
|
||||
/tmp/codium.deb -L \
|
||||
"https://github.com/VSCodium/vscodium/releases/download/${CODIUM_VERSION}/codium_${CODIUM_VERSION}_amd64.deb" && \
|
||||
apt install --no-install-recommends -y /tmp/codium.deb && \
|
||||
dpkg -i /tmp/codium.deb && \
|
||||
echo "**** container tweaks ****" && \
|
||||
ln -s \
|
||||
/usr/bin/xfce4-terminal \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user