Skip to content

Commit f94a3a1

Browse files
committed
github desktop as standard app in workstation
1 parent 88a301d commit f94a3a1

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

docker/workstation-base/Dockerfile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@ ARG BUILD_DATE
55
ARG VERSION
66
ARG DEBIAN_FRONTEND="noninteractive"
77

8-
# prevent Ubuntu's firefox stub from being installed
9-
COPY /root/etc/apt/preferences.d/firefox-no-snap /etc/apt/preferences.d/firefox-no-snap
10-
118
RUN \
129
echo "**** install packages ****" && \
13-
add-apt-repository -y ppa:mozillateam/ppa && \
1410
apt-get update && \
1511
DEBIAN_FRONTEND=noninteractive \
1612
apt-get install --no-install-recommends -y \
@@ -30,6 +26,7 @@ RUN \
3026
apt -f install ./google-chrome-stable_current_amd64.deb -y && \
3127
rm ./google-chrome-stable_current_amd64.deb && \
3228
echo "**** mate tweaks ****" && \
29+
rm -f \
3330
/etc/xdg/autostart/mate-power-manager.desktop \
3431
/etc/xdg/autostart/mate-screensaver.desktop && \
3532
echo "**** cleanup ****" && \
@@ -70,13 +67,16 @@ RUN \
7067
apt install ~/vscode.deb -y && \
7168
rm ~/vscode.deb
7269

73-
# add local files
74-
COPY /root /
75-
COPY /setup /setup
76-
7770
RUN \
78-
add-apt-repository universe && \
71+
add-apt-repository universe -y && \
7972
apt update && \
8073
apt install dconf-cli dconf-editor -y && \
81-
apt install caja-open-terminal -y \
82-
apt install file-roller -y
74+
apt install caja-open-terminal -y && \
75+
apt install file-roller -y && \
76+
wget https://github.com/shiftkey/desktop/releases/download/release-3.2.1-linux1/GitHubDesktop-linux-3.2.1-linux1.deb && \
77+
apt install ./GitHubDesktop-linux-3.2.1-linux1.deb -y && \
78+
rm GitHubDesktop-linux-3.2.1-linux1.deb
79+
80+
# add local files
81+
COPY /root /
82+
COPY /setup /setup

docker/workstation-base/setup/scripts/themes.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ dconf write /org/mate/desktop/background/picture-filename "'/setup/wallpaper.jpg
99
sudo cp /usr/share/applications/mate-terminal.desktop /config/Desktop/
1010
sudo cp /usr/share/applications/google-chrome.desktop /config/Desktop/
1111
sudo cp /usr/share/applications/code.desktop /config/Desktop/
12+
sudo cp /usr/share/applications/github-desktop.desktop /config/Desktop/
1213

1314
sudo chown -R abc /config/Desktop/
1415

0 commit comments

Comments
 (0)