refactor: modified build container to use golang:1-alpine (#198)

This commit is contained in:
James Park-Watt 2024-10-25 23:03:15 +01:00 committed by GitHub
parent e9371c90a0
commit 93cbaff2e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 8 deletions

View File

@ -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 \

View File

@ -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 \