very moldy
This commit is contained in:
parent
91b0615809
commit
e56cfa21dc
1 changed files with 2 additions and 2 deletions
|
@ -5,11 +5,11 @@
|
||||||
#############################
|
#############################
|
||||||
FROM ghcr.io/archlinux/archlinux:latest AS builder
|
FROM ghcr.io/archlinux/archlinux:latest AS builder
|
||||||
|
|
||||||
RUN nice -20 pacman -Syu --noconfirm go base-devel git mold
|
RUN nice -20 pacman -Syu --noconfirm go base-devel git
|
||||||
RUN mkdir /builder /builder/bin
|
RUN mkdir /builder /builder/bin
|
||||||
RUN git clone --depth=1 https://github.com/gorcon/rcon-cli /builder/rcon-cli
|
RUN git clone --depth=1 https://github.com/gorcon/rcon-cli /builder/rcon-cli
|
||||||
WORKDIR /builder/rcon-cli
|
WORKDIR /builder/rcon-cli
|
||||||
RUN nice -20 go build -ldflags "-s -w -fuse-ld=mold -X main.ServiceVersion=mcsd-builder" -o /builder/bin/rcon ./cmd/gorcon/main.go
|
RUN nice -20 go build -ldflags "-s -w -X main.ServiceVersion=mcsd-builder" -o /builder/bin/rcon ./cmd/gorcon/main.go
|
||||||
|
|
||||||
####################################
|
####################################
|
||||||
## MAIN ##
|
## MAIN ##
|
||||||
|
|
Loading…
Reference in a new issue