Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
  • Loading branch information
hairyhenderson committed May 22, 2023
1 parent f2df26c commit b93bae4
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 15 deletions.
4 changes: 4 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ CVE-2021-38561
CVE-2021-44716
CVE-2022-27664
CVE-2022-32149

# bashbrew - github.com/opencontainers/runc vulns - not relevant here
CVE-2023-27561
CVE-2023-28642
2 changes: 1 addition & 1 deletion bashbrew/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17
FROM alpine:3.18

LABEL org.opencontainers.image.source https://github.com/hairyhenderson/dockerfiles

Expand Down
6 changes: 3 additions & 3 deletions ci-builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM vault:1.13.1 AS vault
FROM vault:1.13.2 AS vault
FROM consul:1.15.2 AS consul
FROM docker:23.0 AS docker
FROM docker:24.0 AS docker
FROM ghcr.io/hairyhenderson/bashbrew:latest AS bashbrew
FROM docker/buildx-bin:0.10.4 AS buildx-plugin
FROM golangci/golangci-lint:v1.52.2-alpine AS golangci-lint

FROM alpine:3.17 AS cc-test-reporter
FROM alpine:3.18 AS cc-test-reporter

RUN set -eux; \
apkArch="$(apk --print-arch)"; \
Expand Down
4 changes: 2 additions & 2 deletions dockerfiles-builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM ghcr.io/hairyhenderson/gomplate:v3 AS gomplate
FROM ghcr.io/hairyhenderson/bashbrew:latest AS bashbrew
FROM docker:23.0 AS docker
FROM docker:24.0 AS docker
FROM docker/buildx-bin:0.10.4 AS buildx-plugin
FROM mikefarah/yq:4 AS yq

FROM alpine:3.17 AS runtime
FROM alpine:3.18 AS runtime

LABEL org.opencontainers.image.source https://github.com/hairyhenderson/dockerfiles

Expand Down
8 changes: 6 additions & 2 deletions golang-air/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
FROM golang:1.20
FROM golang:1.20 AS build

RUN go install github.com/cosmtrek/air@latest

FROM golang:1.20 AS runtime

LABEL org.opencontainers.image.source https://github.com/hairyhenderson/dockerfiles

# temporary workaround for CVEs in older versions of linux-libc-dev
RUN apt-get update && apt-get upgrade -y linux-libc-dev

RUN go install github.com/cosmtrek/air@latest
COPY --from=build /go/bin/air /bin/air
7 changes: 4 additions & 3 deletions gomplate-ci-build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
ARG GO_VERSION=1.20
FROM vault:1.13.1 AS vault
FROM vault:1.13.2 AS vault
FROM consul:1.15.2 AS consul
FROM docker:23.0 AS docker
FROM docker:24.0 AS docker
FROM ghcr.io/hairyhenderson/bashbrew:latest AS bashbrew
FROM docker/buildx-bin:0.10.4 AS buildx-plugin
FROM golangci/golangci-lint:v1.52.2-alpine AS golangci-lint

FROM alpine:3.17 AS cc-test-reporter
FROM alpine:3.18 AS cc-test-reporter

RUN set -eux; \
apkArch="$(apk --print-arch)"; \
Expand Down Expand Up @@ -35,6 +35,7 @@ RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends \
unzip \
jq \
&& apt-get upgrade -y linux-libc-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

Expand Down
2 changes: 1 addition & 1 deletion man/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17
FROM alpine:3.18

LABEL org.opencontainers.image.source https://github.com/hairyhenderson/dockerfiles

Expand Down
4 changes: 2 additions & 2 deletions pi-blaster/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17 as builder
FROM alpine:3 as builder

RUN apk add --no-cache \
build-base \
Expand All @@ -14,7 +14,7 @@ RUN ./autogen.sh
RUN ./configure
RUN make

FROM alpine:3.17
FROM alpine:3

COPY --from=builder /pi-blaster/pi-blaster /

Expand Down
2 changes: 1 addition & 1 deletion sed/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17
FROM alpine:3.18

LABEL org.opencontainers.image.source https://github.com/hairyhenderson/dockerfiles

Expand Down

0 comments on commit b93bae4

Please sign in to comment.