refactor: modified build container to use golang:1-alpine (#198)
This commit is contained in:
parent
e9371c90a0
commit
93cbaff2e6
2 changed files with 6 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM luzifer/archlinux as builder
|
||||
FROM golang:1-alpine AS builder
|
||||
|
||||
ENV CGO_ENABLED=0 \
|
||||
GOPATH=/go \
|
||||
|
@ -8,12 +8,11 @@ COPY . /go/src/github.com/Luzifer/ots
|
|||
WORKDIR /go/src/github.com/Luzifer/ots
|
||||
|
||||
RUN set -ex \
|
||||
&& pacman --noconfirm -Syy \
|
||||
&& apk update && apk add \
|
||||
curl \
|
||||
git \
|
||||
go \
|
||||
make \
|
||||
nodejs-lts-hydrogen \
|
||||
nodejs-lts \
|
||||
npm \
|
||||
tar \
|
||||
unzip \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM luzifer/archlinux as builder
|
||||
FROM golang:1-alpine AS builder
|
||||
|
||||
ENV CGO_ENABLED=0 \
|
||||
GOPATH=/go \
|
||||
|
@ -8,12 +8,11 @@ COPY . /go/src/github.com/Luzifer/ots
|
|||
WORKDIR /go/src/github.com/Luzifer/ots
|
||||
|
||||
RUN set -ex \
|
||||
&& pacman --noconfirm -Syy \
|
||||
&& apk update && apk add \
|
||||
curl \
|
||||
git \
|
||||
go \
|
||||
make \
|
||||
nodejs-lts-hydrogen \
|
||||
nodejs-lts \
|
||||
npm \
|
||||
tar \
|
||||
unzip \
|
||||
|
|
Loading…
Reference in a new issue