@@ -39,7 +39,6 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
39
39
RUN apt-get update -qq && \
40
40
DEBIAN_FRONTEND=noninteractive apt-get install -qq --fix-missing \
41
41
acpi \
42
- alacritty \
43
42
alsa-utils \
44
43
apt-file \
45
44
apt-utils \
@@ -50,6 +49,7 @@ RUN apt-get update -qq && \
50
49
bat \
51
50
bc \
52
51
build-essential \
52
+ cargo \
53
53
cmake \
54
54
cmatrix \
55
55
curl \
@@ -142,6 +142,15 @@ RUN apt-get update -qq && \
142
142
zsh && \
143
143
apt-file update
144
144
145
+ # Install alacritty
146
+ RUN apt-get update -qq && \
147
+ apt-get install -qq cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3 && \
148
+ # curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
149
+ git clone --depth 1 https://github.com/alacritty/alacritty /opt/alacritty && \
150
+ cd /opt/alacritty && \
151
+ cargo build --release --no-default-features --features=x11 && \
152
+ install target/release/alacritty /usr/local/bin
153
+
145
154
# Install arc
146
155
RUN wget -O /usr/local/bin/arc -q https://github.com/mholt/archiver/releases/download/v3.5.0/arc_3.5.0_linux_amd64 && \
147
156
chmod +x /usr/local/bin/arc
@@ -179,14 +188,8 @@ RUN apt-get update -qq && \
179
188
apt-get install -qq libdbus-1-dev libnotify-dev libsdl-pango-dev libxinerama-dev libxrandr-dev libxss-dev && \
180
189
git clone https://github.com/sabrehagen/dunst /opt/dunst && \
181
190
cd /opt/dunst && \
182
- make all && \
183
- make install
184
-
185
- # Install firefox
186
- RUN add-apt-repository -y ppa:mozillateam/ppa && \
187
- echo '\n Package: *\n Pin: release o=LP-PPA-mozillateam\n Pin-Priority: 1001' | tee /etc/apt/preferences.d/mozilla-firefox && \
188
- echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";' | tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox && \
189
- apt-get install -qq firefox
191
+ make WAYLAND=0 all && \
192
+ make WAYLAND=0 install
190
193
191
194
# Install gotop
192
195
RUN git clone --depth 1 https://github.com/xxxserxxx/gotop /opt/gotop && \
@@ -197,14 +200,10 @@ RUN git clone --depth 1 https://github.com/xxxserxxx/gotop /opt/gotop && \
197
200
install gotop /usr/local/bin
198
201
199
202
# Install gping
200
- RUN apt-get update -qq && \
201
- apt-get install -qq cargo && \
202
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
203
- git clone --depth 1 https://github.com/orf/gping /opt/gping && \
203
+ RUN git clone --depth 1 https://github.com/orf/gping /opt/gping && \
204
204
cd /opt/gping && \
205
205
cargo install --locked --path ./gping && \
206
- install target/release/gping /usr/local/bin && \
207
- yes | $HOME/.cargo/bin/rustup self uninstall
206
+ install target/release/gping /usr/local/bin
208
207
209
208
# Install i3lock
210
209
RUN apt-get update -qq && \
@@ -274,13 +273,7 @@ RUN git clone --depth 10 https://github.com/gsamokovarov/jump /opt/jump && \
274
273
275
274
# Install kdenlive
276
275
RUN apt-get update -qq && \
277
- apt-get install -qq \
278
- frei0r-plugins \
279
- kde-style-breeze \
280
- kdenlive \
281
- knewstuff-dialog \
282
- mediainfo \
283
- --no-install-recommends
276
+ apt-get install -qq frei0r-plugins kde-style-breeze kdenlive knewstuff-dialog mediainfo --no-install-recommends
284
277
285
278
# Install lazyvim
286
279
RUN git clone --depth 1 https://github.com/LazyVim/starter $HOME/.config/nvim && \
@@ -304,6 +297,14 @@ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
304
297
RUN git clone --depth 1 https://github.com/cloud-computer/noVNC.git /opt/noVNC && \
305
298
git clone --depth 1 https://github.com/novnc/websockify /opt/noVNC/utils/websockify
306
299
300
+ # Install op
301
+ RUN curl -sS https://downloads.1password.com/linux/keys/1password.asc | gpg --dearmor --output /usr/share/keyrings/1password-archive-keyring.gpg && \
302
+ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/$(dpkg --print-architecture) stable main" | tee /etc/apt/sources.list.d/1password.list && \
303
+ mkdir -p /etc/debsig/policies/AC2D62742012EA22 /usr/share/debsig/keyrings/AC2D62742012EA22 && \
304
+ curl -sS https://downloads.1password.com/linux/debian/debsig/1password.pol | tee /etc/debsig/policies/AC2D62742012EA22/1password.pol && \
305
+ curl -sS https://downloads.1password.com/linux/keys/1password.asc | gpg --dearmor --output /usr/share/debsig/keyrings/AC2D62742012EA22/debsig.gpg && \
306
+ apt-get install -qq 1password-cli
307
+
307
308
# Install picom
308
309
RUN apt-get update -qq && \
309
310
apt-get install -qq libconfig-dev libdbus-1-dev libegl-dev libev-dev libgl-dev libpcre3-dev libpixman-1-dev libx11-xcb-dev libxcb1-dev libxcb-composite0-dev libxcb-damage0-dev libxcb-dpms0-dev libxcb-glx0-dev libxcb-image0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-render-util0-dev libxcb-shape0-dev libxcb-util-dev libxcb-xfixes0-dev libxext-dev meson ninja-build uthash-dev && \
@@ -360,8 +361,7 @@ RUN apt-get update -qq && \
360
361
cmake .. -DCMAKE_BUILD_TYPE=Debug -DINCLUDE_DIRS=lib/iniparser/src -DCMAKE_INSTALL_PREFIX=/usr -DWAYLAND=OFF && \
361
362
make -j$(nproc) && \
362
363
make install && \
363
- cp /usr/lib/xava/out_x11_cairo.so /usr/lib/xava/out_x11_opengl.so && \
364
- rm -rf ../../xava
364
+ cp /usr/lib/xava/out_x11_cairo.so /usr/lib/xava/out_x11_opengl.so
365
365
366
366
# Install yarn
367
367
RUN curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
@@ -416,7 +416,7 @@ USER $USER
416
416
WORKDIR $HOME
417
417
418
418
# Clone the desktop environment
419
- RUN git clone https://github.com/sabrehagen/desktop-environment
419
+ RUN git clone https://github.com/sabrehagen/desktop-environment /opt/desktop-environment
420
420
421
421
# If the DOTFILES_CACHEBUST build arg is supplied, rebuild from static dotfiles onwards
422
422
ARG DOTFILES_CACHEBUST
0 commit comments