add apt-get uppgrade to Dockerfile
Some checks failed
trivy-scan-image / trivy_image_scan (push) Failing after 39s
Some checks failed
trivy-scan-image / trivy_image_scan (push) Failing after 39s
This commit is contained in:
@@ -10,6 +10,7 @@ ENV PYTHONUNBUFFERED=1
|
|||||||
ENV SERVER_PORT=19998
|
ENV SERVER_PORT=19998
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
|
apt-get upgrade -y && \
|
||||||
if [ "$TARGETPLATFORM" = "linux/arm/v7" ] || [ "$TARGETPLATFORM" = "linux/386" ]; then \
|
if [ "$TARGETPLATFORM" = "linux/arm/v7" ] || [ "$TARGETPLATFORM" = "linux/386" ]; then \
|
||||||
apt-get install -y --no-install-recommends zlib1g-dev libjpeg-dev gcc; \
|
apt-get install -y --no-install-recommends zlib1g-dev libjpeg-dev gcc; \
|
||||||
fi && \
|
fi && \
|
||||||
|
|||||||
Reference in New Issue
Block a user