blob: 13fa316f6bbc39dcb7d60cd480abe0db5b1fb6fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
FROM alpine
RUN apk update && apk add \
byacc \
git \
make \
gcc \
musl-dev
COPY --from=libopenssl:3.3.1-minimal /opt/spm/openssl-3.3.1/ /usr/local/
RUN git clone --depth 1 -b 2.1.1 https://git.omarpolo.com/gmid.git \
/opt/spm/gmid-2.1.1
WORKDIR /opt/spm/gmid-2.1.1
RUN LDFLAGS=-static ./configure
RUN make -j$(nproc --all)
RUN strip gmid
|