mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2025-08-06 14:17:18 +02:00
Drop alpine version pins, ignore DL3018
https://gitlab.archlinux.org/archlinux/archlinux-docker/-/merge_requests/47#note_6125
This commit is contained in:
parent
fdd9e81fc0
commit
0ad84af7b7
@ -13,7 +13,8 @@ lint:
|
|||||||
stage: lint
|
stage: lint
|
||||||
image: hadolint/hadolint:latest
|
image: hadolint/hadolint:latest
|
||||||
# DL3007: We use the latest tag for multistage build
|
# DL3007: We use the latest tag for multistage build
|
||||||
script: hadolint --ignore DL3007 --ignore DL3020 Dockerfile.template
|
# DL3018: We don't need alpine version pins
|
||||||
|
script: hadolint --ignore DL3007 --ignore DL3018 --ignore DL3020 Dockerfile.template
|
||||||
except:
|
except:
|
||||||
- releases
|
- releases
|
||||||
- tags
|
- tags
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
# allow us to automate the releaes process.
|
# allow us to automate the releaes process.
|
||||||
FROM alpine:3.12 AS verify
|
FROM alpine:3.12 AS verify
|
||||||
COPY TEMPLATE_ROOTFS_FILE /
|
COPY TEMPLATE_ROOTFS_FILE /
|
||||||
RUN apk update && apk add --no-cache curl=7.69.1-r1 bash=5.0.17-r0
|
RUN apk update && apk add --no-cache curl bash
|
||||||
SHELL ["/bin/bash", "-c"]
|
SHELL ["/bin/bash", "-c"]
|
||||||
RUN ROOTFS="$(curl -sOJL --continue-at - -w "%{filename_effective}" TEMPLATE_ROOTFS_URL)" && \
|
RUN ROOTFS="$(curl -sOJL --continue-at - -w "%{filename_effective}" TEMPLATE_ROOTFS_URL)" && \
|
||||||
sha256sum -c <<< "TEMPLATE_ROOTFS_HASH" && \
|
sha256sum -c <<< "TEMPLATE_ROOTFS_HASH" && \
|
||||||
|
Loading…
Reference in New Issue
Block a user