mirror of
https://github.com/Luzifer/ots.git
synced 2024-12-18 12:04:35 -05:00
refactor: modified build container to use golang:1-alpine (#198)
This commit is contained in:
parent
e9371c90a0
commit
93cbaff2e6
@ -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 New Issue
Block a user