Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use more recent Golang images #2132

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions integration/examples/compose/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.10.1-alpine3.7 as builder
FROM golang:1.12.5-alpine3.9 as builder
COPY main.go .
RUN go build -o /app main.go

FROM alpine:3.7
FROM alpine:3.9
CMD ["./app"]
COPY --from=builder /app .
4 changes: 2 additions & 2 deletions integration/examples/getting-started/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.10.1-alpine3.7 as builder
FROM golang:1.12.5-alpine3.9 as builder
COPY main.go .
RUN go build -o /app main.go

FROM alpine:3.7
FROM alpine:3.9
CMD ["./app"]
COPY --from=builder /app .
4 changes: 2 additions & 2 deletions integration/examples/google-cloud-build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.10.1-alpine3.7 as builder
FROM golang:1.12.5-alpine3.9 as builder
COPY main.go .
RUN go build -o /app main.go

FROM alpine:3.7
FROM alpine:3.9
CMD ["./app"]
COPY --from=builder /app .
4 changes: 2 additions & 2 deletions integration/examples/kaniko-local/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.10.1-alpine3.7 as builder
FROM golang:1.12.5-alpine3.9 as builder
COPY main.go .
RUN go build -o /app main.go

FROM alpine:3.7
FROM alpine:3.9
CMD ["./app"]
COPY --from=builder /app .
4 changes: 2 additions & 2 deletions integration/examples/kaniko/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.10.1-alpine3.7 as builder
FROM golang:1.12.5-alpine3.9 as builder
COPY main.go .
RUN go build -o /app main.go

FROM alpine:3.7
FROM alpine:3.9
CMD ["./app"]
COPY --from=builder /app .
4 changes: 2 additions & 2 deletions integration/examples/microservices/leeroy-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.10.1-alpine3.7 as builder
FROM golang:1.12.5-alpine3.9 as builder
COPY app.go .
RUN go build -o /app .

FROM alpine:3.7
FROM alpine:3.9
CMD ["./app"]
COPY --from=builder /app .
4 changes: 2 additions & 2 deletions integration/examples/microservices/leeroy-web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.10.1-alpine3.7 as builder
FROM golang:1.12.5-alpine3.9 as builder
COPY web.go .
RUN go build -o /web .

FROM alpine:3.7
FROM alpine:3.9
CMD ["./web"]
COPY --from=builder /web .
4 changes: 2 additions & 2 deletions integration/examples/structure-tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.10.1-alpine3.7 as builder
FROM golang:1.12.5-alpine3.9 as builder
COPY main.go .
RUN go build -o /app main.go

FROM alpine:3.7
FROM alpine:3.9
CMD ["./app"]
COPY --from=builder /app .
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.10.1-alpine3.7 as builder
FROM golang:1.12.5-alpine3.9 as builder
COPY main.go .
RUN go build -o /app main.go

FROM alpine:3.7
FROM alpine:3.9
CMD ["./app"]
COPY --from=builder /app .