Skip to content
Snippets Groups Projects
Verified Commit f4df827b authored by Laurent Modolo's avatar Laurent Modolo
Browse files

Dockerfile: decrease image size

parent 8f031df0
Branches
No related tags found
No related merge requests found
# SPDX-FileCopyrightText: 2023 Laurent Modolo <laurent.modolo@ens-lyon.fr>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
FROM rust:1.66.1
FROM rust:1.67-alpine3.17 AS build
RUN cargo install --git http://gitbio.ens-lyon.fr/LBMC/Bernard/bamcalib.git
RUN apk add --no-cache musl-dev pkgconfig openssl-dev && cargo install --git http://gitbio.ens-lyon.fr/LBMC/Bernard/bamcalib.git
FROM alpine:3.17
COPY --from=build /usr/local/cargo/bin/bamcalib /usr/bin/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment