Skip to content

Commit

Permalink
Fix base images
Browse files Browse the repository at this point in the history
  • Loading branch information
crohr committed May 30, 2024
1 parent 1934b93 commit b981cf8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- base-images
- master

jobs:
build-and-push:
Expand Down
6 changes: 4 additions & 2 deletions images/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ ARG TARGET
FROM barebuild/$TARGET
ARG PKGR_VERSION

WORKDIR /app
VOLUME ["/pkgr/cache", "/pkgr/output", "/pkgr/app"]
WORKDIR /pkgr/output

RUN curl -GLs https://buildcurl.com -d recipe=pkgr -d version="$PKGR_VERSION" -d target="$TARGET" -o - | tar xzf - -C /usr/local
ENTRYPOINT ["/usr/local/bin/pkgr", "package", ".", "--clean", "--auto", "--compile-cache-dir", "/cache"]
ENTRYPOINT ["/usr/local/bin/pkgr", "package", "/pkgr/app", "--clean", "--auto", "--compile-cache-dir", "/pkgr/cache"]

0 comments on commit b981cf8

Please sign in to comment.