build with alpine, so that it runs in alpine
This commit is contained in:
parent
38179c271b
commit
11202f1b24
@ -2,7 +2,9 @@
|
||||
|
||||
# Start from a Debian image with the latest version of Go installed
|
||||
# and a workspace (GOPATH) configured at /go.
|
||||
FROM golang:1.10 AS build
|
||||
FROM golang:1.10-alpine AS build
|
||||
|
||||
RUN apk add --no-cache build-base curl git
|
||||
|
||||
# Copy the local package files to the container's workspace.
|
||||
ADD ./Gopkg.toml /go/src/github.com/boramalper/magnetico/
|
||||
|
@ -2,7 +2,9 @@
|
||||
|
||||
# Start from a Debian image with the latest version of Go installed
|
||||
# and a workspace (GOPATH) configured at /go.
|
||||
FROM golang:1.10 AS build
|
||||
FROM golang:1.10-alpine AS build
|
||||
|
||||
RUN apk add --no-cache build-base curl git
|
||||
|
||||
# Copy the local package files to the container's workspace.
|
||||
ADD ./Gopkg.toml /go/src/github.com/boramalper/magnetico/
|
||||
|
Loading…
Reference in New Issue
Block a user