Skip to content

Commit

Permalink
Update base image version to fix sec vuln and renamed Dockerfiles for…
Browse files Browse the repository at this point in the history
… clarity
  • Loading branch information
Ompragash committed Nov 13, 2024
1 parent 00423fe commit 6cdc129
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile → docker/Dockerfile.linux.amd64
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM golang:1.22.1-alpine as builder
FROM golang:1.22.7-alpine as builder

WORKDIR /go/src/drone-email
COPY . .

RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build

FROM alpine:3.14
FROM alpine:3.20

RUN apk add --no-cache ca-certificates tzdata

Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile.armhf → docker/Dockerfile.linux.arm64
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM golang:1.22.1-alpine as builder
FROM golang:1.22.7-alpine as builder

WORKDIR /go/src/drone-email
COPY . .

RUN GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=0 go build

FROM alpine:3.14
FROM alpine:3.20

RUN apk add --no-cache ca-certificates tzdata

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/drone-plugins/drone-email

go 1.22.1
go 1.22.7

0 comments on commit 6cdc129

Please sign in to comment.