Skip to content

Commit

Permalink
feat: reinstall docker in development images
Browse files Browse the repository at this point in the history
  • Loading branch information
hartym committed Apr 13, 2024
1 parent 9cffc8d commit 6676a4f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ WORKDIR /root
RUN --mount=type=cache,target=/root/.cache,sharing=locked \
--mount=type=cache,target=/var/cache/apt,sharing=locked \
apt-get update \
&& apt-get install -y make curl \
&& apt-get install -y make curl ca-certificates \
&& rm -rf /var/lib/apt/lists/* \
&& useradd -m harp -g www-data -d ${BASE} -u 500 \
&& echo 'alias l="ls -lsah --color"' > /opt/harp/.profile \
Expand Down Expand Up @@ -69,6 +69,7 @@ WORKDIR /root
RUN --mount=type=cache,target=/root/.cache,sharing=locked \
--mount=type=cache,target=/var/cache/apt,sharing=locked \
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& curl -sSL https://get.docker.com/ | sh \
&& apt-get install -y build-essential \
&& apt-get install -y nodejs \
&& rm -rf /var/lib/apt/lists/* \
Expand Down Expand Up @@ -134,7 +135,7 @@ WORKDIR /root
RUN --mount=type=cache,target=/root/.cache,sharing=locked \
--mount=type=cache,target=/var/cache/apt,sharing=locked \
apt-get update \
&& apt-get install -y make curl httpie \
&& apt-get install -y make curl ca-certificates httpie \
&& rm -rf /var/lib/apt/lists/* \
&& useradd -m harp -g www-data -d ${BASE} -u 500 \
&& mkdir -p /var/lib/harp/data \
Expand Down

0 comments on commit 6676a4f

Please sign in to comment.