mirror of
https://github.com/jimeh/casecmp.git
synced 2026-02-19 02:16:40 +00:00
Update Dockerfile to build binary with Go 1.10.x
Also add a .dockerignore file.
This commit is contained in:
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@@ -0,0 +1,2 @@
|
||||
bin/*
|
||||
releases/*
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM golang:1.9-alpine as builder
|
||||
FROM golang:1.10-alpine as builder
|
||||
ADD . /go/src/github.com/jimeh/casecmp
|
||||
WORKDIR /go/src/github.com/jimeh/casecmp
|
||||
RUN CGO_ENABLED=0 go build -a -o /casecmp \
|
||||
|
||||
Reference in New Issue
Block a user