Skip to content

Commit

Permalink
docker: Remove unneeded packages from install
Browse files Browse the repository at this point in the history
I *thought* this might bring down the image size a little, but it's
still about 3.83GB

Based on your comment in
#39 (comment) I
thought it would be ok to remove sqlite?
  • Loading branch information
andy5995 committed Dec 10, 2024
1 parent ade91b0 commit ed0c922
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 ed0c922

Please sign in to comment.