mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-30 02:46:30 +02:00
ci: remove hadolint (#2726)
This commit is contained in:
parent
4d501de451
commit
c3171ad58b
3 changed files with 0 additions and 24 deletions
18
.github/workflows/test.yaml
vendored
18
.github/workflows/test.yaml
vendored
|
@ -179,24 +179,6 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
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
|
- name: build
|
||||||
run: docker build .
|
run: docker build .
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
# hadolint ignore=DL3007
|
|
||||||
FROM golang:latest as build
|
FROM golang:latest as build
|
||||||
WORKDIR /go/src/github.com/pomerium/pomerium
|
WORKDIR /go/src/github.com/pomerium/pomerium
|
||||||
|
|
||||||
# hadolint ignore=DL3008
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get -y --no-install-recommends install zip
|
&& apt-get -y --no-install-recommends install zip
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
# hadolint ignore=DL3007
|
|
||||||
FROM golang:latest as build
|
FROM golang:latest as build
|
||||||
WORKDIR /go/src/github.com/pomerium/pomerium
|
WORKDIR /go/src/github.com/pomerium/pomerium
|
||||||
|
|
||||||
# hadolint ignore=DL3008
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get -y --no-install-recommends install zip
|
&& apt-get -y --no-install-recommends install zip
|
||||||
|
|
||||||
|
@ -18,11 +16,9 @@ RUN make build-debug NAME=pomerium-cli
|
||||||
RUN touch /config.yaml
|
RUN touch /config.yaml
|
||||||
RUN go get github.com/go-delve/delve/cmd/dlv
|
RUN go get github.com/go-delve/delve/cmd/dlv
|
||||||
|
|
||||||
# hadolint ignore=DL3007
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
ENV AUTOCERT_DIR /data/autocert
|
ENV AUTOCERT_DIR /data/autocert
|
||||||
WORKDIR /pomerium
|
WORKDIR /pomerium
|
||||||
# hadolint ignore=DL3018
|
|
||||||
RUN apk add --no-cache ca-certificates libc6-compat gcompat
|
RUN apk add --no-cache ca-certificates libc6-compat gcompat
|
||||||
# Remove expired root (https://github.com/pomerium/pomerium/issues/2653)
|
# 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
|
RUN rm /usr/share/ca-certificates/mozilla/DST_Root_CA_X3.crt && update-ca-certificates
|
||||||
|
|
Loading…
Add table
Reference in a new issue