Skip to content

Commit

Permalink
move to oldest supported build/deploy container images
Browse files Browse the repository at this point in the history
  • Loading branch information
sheurich committed Feb 17, 2024
1 parent 14f9ea9 commit 14870ab
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/pebble-challtestsrv/linux.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY . .
RUN go build -o /go/bin/pebble-challtestsrv ./cmd/pebble-challtestsrv

## main
FROM alpine:3.15.4
FROM alpine:3.16

COPY --from=builder /go/bin/pebble-challtestsrv /usr/bin/pebble-challtestsrv

Expand Down
4 changes: 2 additions & 2 deletions docker/pebble-challtestsrv/windows.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21-nanoserver-sac2016 as builder
FROM golang:1.21-nanoserver-1809 as builder

ENV CGO_ENABLED=0

Expand All @@ -8,7 +8,7 @@ COPY . .
RUN go install -v ./cmd/pebble-challtestsrv/...

## main
FROM mcr.microsoft.com/windows/nanoserver:sac2016
FROM mcr.microsoft.com/windows/nanoserver:1809

COPY --from=builder /gopath/bin/pebble-challtestsrv.exe /gopath/bin/pebble-challtestsrv.exe

Expand Down
2 changes: 1 addition & 1 deletion docker/pebble/linux.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY . .
RUN go build -o /go/bin/pebble ./cmd/pebble

## main
FROM alpine:3.15.4
FROM alpine:3.16

COPY --from=builder /go/bin/pebble /usr/bin/pebble
COPY --from=builder /pebble-src/test/ /test/
Expand Down
4 changes: 2 additions & 2 deletions docker/pebble/windows.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21-nanoserver-sac2016 as builder
FROM golang:1.21-nanoserver-1809 as builder

ENV CGO_ENABLED=0

Expand All @@ -8,7 +8,7 @@ COPY . .
RUN go install -v ./cmd/pebble/...

## main
FROM mcr.microsoft.com/windows/nanoserver:sac2016
FROM mcr.microsoft.com/windows/nanoserver:1809

COPY --from=builder /gopath/bin/pebble.exe /gopath/bin/pebble.exe
COPY --from=builder /pebble-src/test/ /test/
Expand Down

0 comments on commit 14870ab

Please sign in to comment.