Skip to content

Commit

Permalink
Add ARG BASEIMAGE
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgenyUglov committed Jan 27, 2025
1 parent e12b28e commit b1382e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.podman
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
ARG GOIMAGE
ARG BASEIMAGE

# Stage to build the driver
FROM $GOIMAGE as builder
RUN mkdir -p /go/src
Expand All @@ -14,7 +16,7 @@ RUN go run core/semver/semver.go -f mk

# Dockerfile to build Unity CSI Driver
# Fetching the base ubi micro image with the require packges committed using buildah
FROM BASEIMAGE as driver
FROM $BASEIMAGE as driver

COPY --from=builder /go/src/csi-unity/bin/csi-unity /
COPY csi-unity/scripts/run.sh /
Expand Down

0 comments on commit b1382e9

Please sign in to comment.