Skip to content

Commit

Permalink
feat(image): Add support for building with podman
Browse files Browse the repository at this point in the history
  • Loading branch information
smuda committed Oct 23, 2024
1 parent b5349dd commit 61c9624
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ COPY --from=nodejs-builder /src/ui/embed.go /src/ui/embed.go
COPY cmd /src/cmd
COPY internal /src/internal
ARG VERSION
RUN CGO_ENABLED=0 make -C /src VERSION="${VERSION:-dev}" karma
# touch /src/ui/dist/index.html before building to make sure it's newer than the source, even in podman
RUN touch /src/ui/dist/index.html && CGO_ENABLED=0 make -C /src VERSION="${VERSION:-dev}" karma

FROM gcr.io/distroless/static
ARG VERSION
Expand Down

0 comments on commit 61c9624

Please sign in to comment.