summaryrefslogtreecommitdiff
path: root/slcl/master/Dockerfile
blob: 5262f4f12f9c2e8931b109b117d9ddeb54d0968a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM alpine
RUN apk update && apk add \
	git \
	make \
	gcc \
	musl-dev
COPY --from=libcjson:1.7.16 /opt/spm/cjson-1.7.16/ /usr/local/
COPY --from=libopenssl:3.1.1-minimal /opt/spm/openssl-3.1.1/ /usr/local/
RUN git clone --depth 1 --recursive https://gitea.privatedns.org/xavi92/slcl \
	/opt/spm/slcl-master
WORKDIR /opt/spm/slcl-master
RUN make LDFLAGS=-static -j$(nproc --all)
RUN strip slcl