Dockerfile add runtime dependency

This commit is contained in:
spital
2023-02-23 18:37:42 +01:00
committed by parazyd
parent fcab6f6c2b
commit 316d0afe49
5 changed files with 5 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ RUN bash -c 'make -j test && make -j'
# 3. stage
FROM alpine:${ALPINE_VER}
RUN apk update && apk add openssl ttf-opensans # ?? TODO lato-fonts
RUN apk add --no-cache openssl ttf-opensans libgcc mpg123-libs
WORKDIR /opt/darkfi

View File

@@ -31,7 +31,7 @@ RUN bash -c 'make -j test && make -j all'
# 2. stage
FROM debian:${RUN_OS_VER}
RUN apt-get -y update && apt-get install -y openssl fonts-lato \
RUN apt-get -y update && apt-get install -y openssl fonts-lato libout123-0 libmpg123-0 \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /opt/darkfi

View File

@@ -38,7 +38,7 @@ RUN bash -c 'make -j test && make -j all'
# 3. stage
FROM ${OS_VER}
RUN dnf -y install openssl lato-fonts \
RUN dnf -y install openssl lato-fonts mpg123-libs \
&& dnf clean all \
&& rm -rf /var/cache/dnf

View File

@@ -40,7 +40,7 @@ RUN bash -c 'make -j test && make -j all'
# 3. stage
FROM ${REPOSITORY}:${RUN_OS_VER}
RUN apt-get -y update && apt-get install -y openssl fonts-lato \
RUN apt-get -y update && apt-get install -y openssl fonts-lato libout123-0 libmpg123-0 \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /opt/darkfi

View File

@@ -44,7 +44,7 @@ RUN bash -c 'make -j test && make -j all'
# 3. stage
FROM --platform=$TARGETPLATFORM ${REPOSITORY}:${RUN_OS_VER}
RUN apt-get -y update && apt-get install -y openssl fonts-lato \
RUN apt-get -y update && apt-get install -y openssl fonts-lato libout123-0 libmpg123-0 \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /opt/darkfi