mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Fix apk add
usage in Dockerfile.alpine (#9032)
There is no need to use `--update` when `--no-cache` is already specified. Use `--no-cache` only will make `apk` leave no local cache and make the image smaller.
This commit is contained in:
parent
d6ead5ae17
commit
e5b02da54b
|
@ -1,6 +1,6 @@
|
|||
FROM alpine:3.12
|
||||
# Apache + PHP
|
||||
RUN apk add --update --no-cache \
|
||||
RUN apk add --no-cache \
|
||||
apache2 \
|
||||
php7 \
|
||||
php7-common \
|
||||
|
|
Loading…
Reference in a new issue