1
0
mirror of https://github.com/Luzifer/cloudkeys-go.git synced 2024-09-16 14:18:32 +00:00
cloudkeys-go/Dockerfile.build
Knut Ahlers 76a6a0100a
Switch to Go 1.12+ modules (#20)
* Switch to Go 1.12+ modules

Signed-off-by: Knut Ahlers <knut@ahlers.me>

* Wipe vendor directory

Signed-off-by: Knut Ahlers <knut@ahlers.me>

* Add dockerized builder

Signed-off-by: Knut Ahlers <knut@ahlers.me>

* Update image to build on recent Go version

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-11-07 11:56:54 +00:00

20 lines
273 B
Docker

FROM golang:alpine
RUN set -ex \
&& apk update \
&& apk add \
git \
make \
nodejs \
npm
RUN set -ex \
&& npm install --global \
coffeescript \
less
RUN set -ex \
&& cd /go \
&& go get -u \
github.com/shuLhan/go-bindata/...