diff --git a/.hadolint.yaml b/.hadolint.yaml index 95c61c4f41e871fc45b70806ce0ffe9101e0407f..546298659cee70ad2df304a7b773608cb83d1211 100644 --- a/.hadolint.yaml +++ b/.hadolint.yaml @@ -1,3 +1,4 @@ ignored: + - DL3007 - DL3008 - DL3018 diff --git a/Dockerfile b/Dockerfile index 7b3b2d853174aa9fedeef08c615a6957269db164..a6e1cc37afe078d6ebb45e2d258dec670fbd3382 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ -FROM registry.cyberbrain.pw/docker/alpine:latest +ARG DOCKER_REGISTRY=registry.cyberbrain.pw +FROM $DOCKER_REGISTRY/tools/docker/git:latest WORKDIR /tmp/openwrt ENTRYPOINT [ "sh", "/entrypoint.sh" ] RUN set -ex && \ - apk --no-cache add sudo git rsync openssh-client && \ + apk --no-cache add sudo rsync && \ rm -rf /var/cache/apk/* && \ addgroup -S openwrt && \ adduser -S openwrt -G openwrt -h /home/openwrt && \