Skip to content

Commit

Permalink
back to alpine 3.19 (and for run, not just build)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnewbold committed Apr 4, 2024
1 parent 16d0381 commit 62ed248
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions cmd/beemo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# podman build -f ./cmd/beemo/Dockerfile -t beemo .

### Compile stage
FROM golang:1.22-alpine3.18 AS build-env
FROM golang:1.22-alpine3.19 AS build-env
RUN apk add --no-cache build-base make git

ADD . /dockerbuild
Expand All @@ -15,7 +15,7 @@ RUN GIT_VERSION=$(git describe --tags --long --always) && \
go build -tags timetzdata -o /beemo ./cmd/beemo

### Run stage
FROM alpine:3.18
FROM alpine:3.19

RUN apk add --no-cache --update dumb-init ca-certificates
ENTRYPOINT ["dumb-init", "--"]
Expand Down
4 changes: 2 additions & 2 deletions cmd/bigsky/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# podman build -f ./cmd/bigsky/Dockerfile -t bigsky .

### Compile stage
FROM golang:1.22-alpine3.18 AS build-env
FROM golang:1.22-alpine3.19 AS build-env
RUN apk add --no-cache build-base make git

ADD . /dockerbuild
Expand All @@ -26,7 +26,7 @@ RUN yarn install --frozen-lockfile
RUN yarn build

### Run stage
FROM alpine:3.18
FROM alpine:3.19

RUN apk add --no-cache --update dumb-init ca-certificates runit
ENTRYPOINT ["dumb-init", "--"]
Expand Down
4 changes: 2 additions & 2 deletions cmd/hepa/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# podman build -f ./cmd/hepa/Dockerfile -t hepa .

### Compile stage
FROM golang:1.22-alpine3.18 AS build-env
FROM golang:1.22-alpine3.19 AS build-env
RUN apk add --no-cache build-base make git

ADD . /dockerbuild
Expand All @@ -15,7 +15,7 @@ RUN GIT_VERSION=$(git describe --tags --long --always) && \
go build -tags timetzdata -o /hepa ./cmd/hepa

### Run stage
FROM alpine:3.18
FROM alpine:3.19

RUN apk add --no-cache --update dumb-init ca-certificates
ENTRYPOINT ["dumb-init", "--"]
Expand Down
4 changes: 2 additions & 2 deletions cmd/palomar/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# podman build -f ./cmd/palomar/Dockerfile -t palomar .

### Compile stage
FROM golang:1.22-alpine3.18 AS build-env
FROM golang:1.22-alpine3.19 AS build-env
RUN apk add --no-cache build-base make git

ADD . /dockerbuild
Expand All @@ -15,7 +15,7 @@ RUN GIT_VERSION=$(git describe --tags --long --always) && \
go build -tags timetzdata -o /palomar ./cmd/palomar

### Run stage
FROM alpine:3.18
FROM alpine:3.19

RUN apk add --no-cache --update dumb-init ca-certificates
ENTRYPOINT ["dumb-init", "--"]
Expand Down
2 changes: 1 addition & 1 deletion cmd/sonar/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: Build the Go binary
FROM golang:1.22-alpine3.18 AS builder
FROM golang:1.22-alpine3.19 AS builder

# Install SSL ca certificates.
RUN apk update && apk add --no-cache ca-certificates && update-ca-certificates
Expand Down

0 comments on commit 62ed248

Please sign in to comment.