apt update

This commit is contained in:
Max Quoß
2021-09-20 02:34:24 +02:00
parent 3f6dc3dd4f
commit 1de2c0f56f

View File

@@ -18,7 +18,8 @@ FROM base
COPY --from=builder /install /usr/local
COPY app /app
WORKDIR /app
RUN apt-get -y install iputils-ping && \
RUN apt-get update && \
apt-get -y install iputils-ping && \
rm -rf /var/lib/apt/lists/* && \
groupadd user && useradd -M user -g user && \
chmod -R 755 /app && chown -R user:user /app