install gcc in build container
Some checks failed
/ build-container (push) Failing after 47s

This commit is contained in:
Finn 2024-04-23 20:30:43 -07:00
parent ea0c09561f
commit 8873fa4da8

View file

@ -15,7 +15,7 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
FROM alpine:latest AS build
RUN apk add --no-cache go
RUN apk add --no-cache go gcc-arm-none-eabi
ADD . /go/lockserver
WORKDIR /go/lockserver
RUN CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ CGO_ENABLED=1 GOOS=linux GOARCH=arm GOARM=7 go build ./cmd/lockserver