Skip to content

Commit

Permalink
removing platform from base image as it would be taken care by buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
openuspio committed Oct 29, 2023
1 parent 760de20 commit 22ef3af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/obuspa/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
# 2) Create the OB-USP-A image, then build the application
# > docker build -f Dockerfile -t obuspa:latest --target runner .
#
FROM --platform=$BUILDPLATFORM ubuntu AS build-env
#FROM --platform=$BUILDPLATFORM ubuntu AS build-env
FROM ubuntu AS build-env
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN echo "Running on $BUILDPLATFORM and building for $TARGETPLATFORM" > /log
Expand Down

0 comments on commit 22ef3af

Please sign in to comment.