Skip to content

Commit

Permalink
Merge pull request #60 from andy5995/docker/make-deb-smaller
Browse files Browse the repository at this point in the history
docker: Remove unneeded packages from install
  • Loading branch information
KaruroChori authored Dec 11, 2024
2 parents ade91b0 + ed0c922 commit 11199a8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ RUN \
apt install -y curl && \
curl -s https://archive.swiftlang.xyz/install.sh | bash && \
apt install -y \
build-essential \
ca-certificates \
clang-19 \
cmake \
Expand All @@ -17,9 +16,6 @@ RUN \
libcurl4-openssl-dev \
libpango1.0-dev \
libpng-dev \
libsqlite3-0 \
libsqlitecpp-dev \
libtcc-dev \
lsb-release \
meson \
pkg-config \
Expand All @@ -29,7 +25,7 @@ RUN \
wget

RUN useradd -m builder -s /bin/bash && passwd -d builder
RUN echo "builder ALL=(ALL) ALL" >> /etc/sudoers
RUN echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
WORKDIR /home/builder
USER builder

Expand Down

0 comments on commit 11199a8

Please sign in to comment.