httplz-docker/Dockerfile

13 lines
314 B
Docker
Raw Permalink Normal View History

2023-04-07 17:46:55 +02:00
FROM rust:alpine as builder
# openssl not found -> openssl and openssl-dev
# #include <stdlib.h> -> musl-dev
2023-09-21 13:02:27 +02:00
RUN apk add musl-dev libressl-dev
2023-04-07 17:46:55 +02:00
# --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