Skip to content

Commit

Permalink
update base images
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Aug 25, 2021
1 parent 48b0304 commit 8652553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM golang:1.16-alpine AS build
FROM golang:1.17-alpine AS build
RUN apk add --update --no-cache git
WORKDIR /src
COPY ./go.* ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -o /conoha_exporter

FROM alpine:3.13
FROM alpine:3.14
WORKDIR /app

RUN apk add --update ca-certificates openssl && \
Expand Down

0 comments on commit 8652553

Please sign in to comment.