mirror of
https://codeberg.org/privacy1st/httplz-docker
synced 2024-11-22 22:09:33 +01:00
13 lines
321 B
Docker
13 lines
321 B
Docker
FROM rust:alpine as builder
|
|
|
|
# openssl not found -> openssl and openssl-dev
|
|
# #include <stdlib.h> -> musl-dev
|
|
RUN apk add openssl openssl-dev musl-dev
|
|
|
|
# --root dir: Directory to install packages into.
|
|
RUN cargo install --root /build --bin httplz https
|
|
|
|
FROM alpine
|
|
|
|
COPY --from=builder /build/bin/httplz /bin/httplz
|