very moldy

This commit is contained in:
JeremyStar™ 2024-04-20 17:03:47 +02:00
parent 91b0615809
commit e56cfa21dc
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

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