From 2f4573d1c00f2699a9626e2cae9047276f9dde43 Mon Sep 17 00:00:00 2001 From: b1ek Date: Sat, 5 Aug 2023 04:12:30 +1000 Subject: [PATCH] use alpine for building --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0c36e9c..3425d97 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ -FROM rust as builder +FROM rust:alpine as builder WORKDIR /opt/build COPY . . -RUN cargo install --path . +RUN apk add openssl && \ + cargo install --path . FROM alpine