Skip to content

Commit

Permalink
Remove openssl updates from mock Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
hawx committed Jan 2, 2025
1 parent 8b5cca3 commit bc72849
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions docker/mock-notify/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ FROM golang:1.23.4-alpine AS build-env

WORKDIR /app

RUN apk --no-cache add openssl=3.3.2-r1

COPY --link go.mod go.sum ./
RUN go mod download

COPY --link cmd/mock-notify ./cmd/mock-notify

RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -a -installsuffix cgo -o /go/bin/mock-notify ./cmd/mock-notify
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -a -installsuffix cgo -o /go/bin/mock-notify ./cmd/mock-notify

FROM scratch AS production

Expand Down
2 changes: 0 additions & 2 deletions docker/mock-os-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ FROM golang:1.23.4-alpine AS build-env

WORKDIR /app

RUN apk --no-cache add openssl=3.3.2-r1

COPY --link go.mod go.sum ./
RUN go mod download

Expand Down

0 comments on commit bc72849

Please sign in to comment.