mirror of https://github.com/statping/statping
Remove additional `--update` for apk in Dockerfile
The `--no-cache` option in Alpine Linux's `apk` makes `--update` redundant, leading to unnecessary temporary files in the Docker image. This redundancy should be removed for a cleaner image.pull/1118/head
parent
e1fc014bf7
commit
35598019c0
|
@ -16,7 +16,7 @@ ARG VERSION
|
|||
ARG COMMIT
|
||||
ARG BUILDPLATFORM
|
||||
ARG TARGETARCH
|
||||
RUN apk add --update --no-cache libstdc++ gcc g++ make git autoconf \
|
||||
RUN apk add --no-cache libstdc++ gcc g++ make git autoconf \
|
||||
libtool ca-certificates linux-headers wget curl jq && \
|
||||
update-ca-certificates
|
||||
|
||||
|
|
Loading…
Reference in New Issue