Skip to content

Commit 649c014

Browse files
committed
no-firefox
1 parent 66a2e89 commit 649c014

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

docker/Dockerfile

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
3939
RUN apt-get update -qq && \
4040
DEBIAN_FRONTEND=noninteractive apt-get install -qq --fix-missing \
4141
acpi \
42-
alacritty \
4342
alsa-utils \
4443
apt-file \
4544
apt-utils \
@@ -50,6 +49,7 @@ RUN apt-get update -qq && \
5049
bat \
5150
bc \
5251
build-essential \
52+
cargo \
5353
cmake \
5454
cmatrix \
5555
curl \
@@ -142,6 +142,15 @@ RUN apt-get update -qq && \
142142
zsh && \
143143
apt-file update
144144

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+
145154
# Install arc
146155
RUN wget -O /usr/local/bin/arc -q https://github.com/mholt/archiver/releases/download/v3.5.0/arc_3.5.0_linux_amd64 && \
147156
chmod +x /usr/local/bin/arc
@@ -179,14 +188,8 @@ RUN apt-get update -qq && \
179188
apt-get install -qq libdbus-1-dev libnotify-dev libsdl-pango-dev libxinerama-dev libxrandr-dev libxss-dev && \
180189
git clone https://github.com/sabrehagen/dunst /opt/dunst && \
181190
cd /opt/dunst && \
182-
make all && \
183-
make install
184-
185-
# Install firefox
186-
RUN add-apt-repository -y ppa:mozillateam/ppa && \
187-
echo '\nPackage: *\nPin: release o=LP-PPA-mozillateam\nPin-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
190193

191194
# Install gotop
192195
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 && \
197200
install gotop /usr/local/bin
198201

199202
# 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 && \
204204
cd /opt/gping && \
205205
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
208207

209208
# Install i3lock
210209
RUN apt-get update -qq && \
@@ -274,13 +273,7 @@ RUN git clone --depth 10 https://github.com/gsamokovarov/jump /opt/jump && \
274273

275274
# Install kdenlive
276275
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
284277

285278
# Install lazyvim
286279
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 -
304297
RUN git clone --depth 1 https://github.com/cloud-computer/noVNC.git /opt/noVNC && \
305298
git clone --depth 1 https://github.com/novnc/websockify /opt/noVNC/utils/websockify
306299

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+
307308
# Install picom
308309
RUN apt-get update -qq && \
309310
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 && \
360361
cmake .. -DCMAKE_BUILD_TYPE=Debug -DINCLUDE_DIRS=lib/iniparser/src -DCMAKE_INSTALL_PREFIX=/usr -DWAYLAND=OFF && \
361362
make -j$(nproc) && \
362363
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
365365

366366
# Install yarn
367367
RUN curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
@@ -416,7 +416,7 @@ USER $USER
416416
WORKDIR $HOME
417417

418418
# 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
420420

421421
# If the DOTFILES_CACHEBUST build arg is supplied, rebuild from static dotfiles onwards
422422
ARG DOTFILES_CACHEBUST

0 commit comments

Comments
 (0)