From 1124a79b782165853225ff89b190966293de2f73 Mon Sep 17 00:00:00 2001 From: Madelen Andersson Date: Wed, 4 Sep 2024 16:05:21 +0200 Subject: [PATCH] Refactor tensorflow in Dockerfile --- Dockerfile | 44 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 34 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index d6c2afb..ee016b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,8 @@ FROM arm64v8/ubuntu:${UBUNTU_VERSION} AS containerized_aarch64 FROM arm32v7/ubuntu:${UBUNTU_VERSION} AS containerized_armv7hf FROM ${REPO}/acap-native-sdk:${VERSION}-${ARCH}-ubuntu${UBUNTU_VERSION} AS acap-native-sdk -FROM acap-native-sdk AS build + +FROM acap-native-sdk AS build_base ARG ARCH ARG TARGETSYSROOT=/opt/axis/acapsdk/sysroots/${ARCH} @@ -19,6 +20,7 @@ WORKDIR ${TARGETSYSROOT}/usr/lib RUN [ -z "$(ls libabsl*.so*)" ] || rm -f libabsl*.so* # Install openssl (to use instead of boringssl) +# hadolint ignore=DL3009 RUN <