فهرست منبع

Dockerfile add runtime dependency

spital 3 سال پیش
والد
کامیت
316d0afe49

+ 1 - 1
contrib/docker/Dockerfile.alpine

@@ -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
 

+ 1 - 1
contrib/docker/Dockerfile.debian

@@ -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

+ 1 - 1
contrib/docker/Dockerfile.fedora

@@ -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
 

+ 1 - 1
contrib/docker/Dockerfile.ubuntu

@@ -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

+ 1 - 1
contrib/docker/Dockerfile.ubuntuARMviaEmulation

@@ -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