Skip to content

Commit

Permalink
Update docker image to use 1.17 golang (cadence-workflow#4632)
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng authored Nov 12, 2021
1 parent 46b84be commit 2e75c15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ ARG TARGET=server
ARG GOPROXY

# Build tcheck binary
FROM golang:1.13.6-alpine AS tcheck
FROM golang:1.17-alpine AS tcheck

WORKDIR /go/src/github.com/uber/tcheck

COPY go.* ./
RUN go build -mod=readonly -o /go/bin/tcheck github.com/uber/tcheck

# Build Cadence binaries
FROM golang:1.13.6-alpine AS builder
FROM golang:1.17-alpine AS builder

ARG RELEASE_VERSION

RUN apk add --update --no-cache ca-certificates make git curl mercurial bzr unzip
RUN apk add --update --no-cache ca-certificates make git curl mercurial unzip

WORKDIR /cadence

Expand Down

0 comments on commit 2e75c15

Please sign in to comment.