i2pd-tools-docker/Dockerfile
ngn c09ab7d384
Some checks failed
Build and publish the docker image / build (push) Failing after 21s
fix the runner image name
Signed-off-by: ngn <ngn@ngn.tf>
2025-04-08 04:51:58 +03:00

32 lines
749 B
Docker

FROM alpine AS builder
RUN apk add boost-dev \
openssl-dev zlib-dev \
make g++
RUN adduser builder
USER builder
WORKDIR /home/builder
RUN git clone --recursive https://github.com/purplei2p/i2pd-tools
RUN make
FROM alpine AS runner
RUN apk add boost openssl zlib
COPY --from=builder routerinfo /usr/bin
COPY --from=builder keygen /usr/bin
COPY --from=builder vain /usr/bin
COPY --from=builder keyinfo /usr/bin
COPY --from=builder regaddr /usr/bin
COPY --from=builder regaddr_3ld /usr/bin
COPY --from=builder regaddralias /usr/bin
COPY --from=builder x25519 /usr/bin
COPY --from=builder famtool /usr/bin
COPY --from=builder autoconf /usr/bin
RUN adduser runner -D -H -u 1001
USER runner
WORKDIR /