add gcc to build

This commit is contained in:
jguer
2022-11-16 00:29:53 +01:00
parent 2358a7f66e
commit 3f5eb36fe2

View File

@@ -5,7 +5,8 @@ WORKDIR /app
COPY go.mod .
RUN pacman -Sy && pacman -S --overwrite=* --noconfirm archlinux-keyring && pacman -Su --overwrite=* --needed --noconfirm go git && \
RUN pacman -Sy && pacman -S --overwrite=* --noconfirm archlinux-keyring && \
pacman -Su --overwrite=* --needed --noconfirm go git gcc && \
rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* && \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.50.1 && \
go mod download