Skip to content

Commit

Permalink
Removed static base image name from licensed image docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasHertel80 committed Oct 5, 2023
1 parent c4396f1 commit 178be93
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/licensed_image_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,6 @@ jobs:
with:
context: ./docker_licensed
push: true
build-args: |
BASE_IMAGE=ghcr.io/${{ env.REPO_SLUG }}/arm-mlops-docker-base:latest
tags: ghcr.io/${{ env.REPO_SLUG }}/arm-mlops-docker-licensed:latest
2 changes: 1 addition & 1 deletion docker_base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:latest as base
FROM --platform=linux/amd64 ubuntu:latest as base

RUN apt-get update && apt-get install -y wget sudo software-properties-common && rm -rf /var/lib/apt/lists/*

Expand Down
3 changes: 2 additions & 1 deletion docker_licensed/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM ghcr.io/arm-software/avh-mlops/arm-mlops-docker-base:latest as base
ARG BASE_IMAGE
FROM ${BASE_IMAGE} as base

ADD arm_mlops_docker_license /arm_mlops_docker_license
RUN su -l arm_mlops_docker -c "/home/arm_mlops_docker/ArmCompilerforEmbedded6.20/bin/armlm import --file /arm_mlops_docker_license"
Expand Down

0 comments on commit 178be93

Please sign in to comment.