ci: remove hadolint (#2726)

This commit is contained in:
Travis Groth 2021-10-28 18:42:06 -04:00 committed by GitHub
parent 4d501de451
commit c3171ad58b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 24 deletions

View file

@ -179,24 +179,6 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Hadolint - Master
uses: hadolint/hadolint-action@v1.5.0
with:
Dockerfile: Dockerfile
ignore: DL3059
failure-threshold: error
- name: Hadolint - Debug
uses: hadolint/hadolint-action@v1.5.0
with:
Dockerfile: Dockerfile.debug
ignore: DL3059
failure-threshold: error
- name: Hadolint - Release
uses: hadolint/hadolint-action@v1.5.0
with:
Dockerfile: .github/Dockerfile-release
ignore: DL3059
failure-threshold: error
- name: build
run: docker build .

View file

@ -1,8 +1,6 @@
# hadolint ignore=DL3007
FROM golang:latest as build
WORKDIR /go/src/github.com/pomerium/pomerium
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install zip

View file

@ -1,8 +1,6 @@
# hadolint ignore=DL3007
FROM golang:latest as build
WORKDIR /go/src/github.com/pomerium/pomerium
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install zip
@ -18,11 +16,9 @@ RUN make build-debug NAME=pomerium-cli
RUN touch /config.yaml
RUN go get github.com/go-delve/delve/cmd/dlv
# hadolint ignore=DL3007
FROM alpine:latest
ENV AUTOCERT_DIR /data/autocert
WORKDIR /pomerium
# hadolint ignore=DL3018
RUN apk add --no-cache ca-certificates libc6-compat gcompat
# Remove expired root (https://github.com/pomerium/pomerium/issues/2653)
RUN rm /usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt && update-ca-certificates