fix(docker): making tini download platform specific to support ARM64 native builds
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
ARG BASE_IMAGE=docker.io/rockylinux:9
|
||||
FROM $BASE_IMAGE AS ran-base
|
||||
|
||||
ARG TARGETARCH
|
||||
ENV TZ=Europe/Paris
|
||||
ENV BUILD_UHD_FROM_SOURCE=True
|
||||
ENV UHD_VERSION=4.4.0.0
|
||||
@@ -63,7 +63,7 @@ RUN dnf install 'dnf-command(config-manager)' -y && \
|
||||
# Add "Tini - A tiny but valid init for containers", https://github.com/krallin/tini
|
||||
# it will be copied into target containers, to print exit numbers and handle signals properly
|
||||
ENV TINI_VERSION=v0.19.0
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TARGETARCH} /tini
|
||||
RUN chmod +x /tini
|
||||
|
||||
# Copying only the needed files to create ran-base
|
||||
|
||||
Reference in New Issue
Block a user