Use included Makefile
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
nemunaire 2026-07-02 16:30:00 +08:00
commit 5c36073f9d

View file

@ -2,9 +2,9 @@
FROM golang:1-alpine AS build
WORKDIR /alps
RUN apk add --no-cache git && \
RUN apk add --no-cache git make && \
git clone https://git.sr.ht/~migadu/alps . && \
CGO_ENABLED=0 go build -tags netgo -v -a -ldflags '-extldflags "-static"' -o "alps" cmd/alps/main.go
CGO_ENABLED=0 make all
# release
FROM alpine:3 AS release