mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-21 16:21:00 -05:00
Remove unnecessary --update for apk in Dockerfile
There are two `apk add` use both `--update` and `--no-cache` parameter, which is unnecessary, usually should use only `--no-cache` to prevent leaving cache files, just like the other `apk add` in line 249
This commit is contained in:
parent
6902cbfd3d
commit
7aa29dad84
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ ARG GLIBC_VERSION='2.31-r0'
|
||||||
####################
|
####################
|
||||||
# Run APK installs #
|
# Run APK installs #
|
||||||
####################
|
####################
|
||||||
RUN apk add --update --no-cache \
|
RUN apk add --no-cache \
|
||||||
ansible-lint \
|
ansible-lint \
|
||||||
bash \
|
bash \
|
||||||
coreutils \
|
coreutils \
|
||||||
|
@ -263,7 +263,7 @@ RUN printf '#!/bin/bash \n\nif [[ -x "$1" ]]; then exit 0; else echo "Error: Fil
|
||||||
#################################################
|
#################################################
|
||||||
# Basic setup, programs and init
|
# Basic setup, programs and init
|
||||||
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories \
|
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories \
|
||||||
&& apk add --update --no-cache rakudo zef
|
&& apk add --no-cache rakudo zef
|
||||||
|
|
||||||
######################
|
######################
|
||||||
# Install CheckStyle #
|
# Install CheckStyle #
|
||||||
|
|
Loading…
Reference in a new issue