Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
Chew Choon Keat committed Jul 7, 2020
1 parent a4a64e6 commit a8c6b60
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
@@ -1,8 +1,8 @@
FROM golang:latest AS builder
FROM golang:1.14-stretch AS builder

WORKDIR /src
COPY . /src

RUN GO111MODULE=on go build \
RUN go build \
-ldflags "-linkmode external -extldflags -static" \
-o /bin/dbmigrate \
/src/cmd/dbmigrate/*.go
Expand Down

0 comments on commit a8c6b60

Please sign in to comment.