Skip to content

Commit

Permalink
Add front base image
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Sobolev <[email protected]>
  • Loading branch information
haiodo committed Jan 13, 2025
1 parent 463d646 commit 701be73
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/baseimage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ jobs:
username: hardcoreeng
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Publish base image
env:
DOCKER_CLI_HINTS: false
DOCKER_EXTRA: --platform=linux/amd64,linux/arm64
run: |
echo Pushing base image
cd ./dev/base-image
Expand Down
3 changes: 2 additions & 1 deletion dev/base-image/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

docker build -t hardcoreeng/base -f base.Dockerfile .
docker build -t hardcoreeng/rekoni-base -f rekoni.Dockerfile .
docker build -t hardcoreeng/print-base -f print.Dockerfile .
docker build -t hardcoreeng/print-base -f print.Dockerfile .
docker build -t hardcoreeng/front-base -f print.Dockerfile .
4 changes: 4 additions & 0 deletions dev/base-image/front.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM hardcoreeng/base

WORKDIR /usr/src/app
RUN npm install --ignore-scripts=false --verbose [email protected] --unsafe-perm
3 changes: 2 additions & 1 deletion dev/base-image/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

docker push hardcoreeng/base
docker push hardcoreeng/rekoni-base
docker push hardcoreeng/print-base
docker push hardcoreeng/print-base
docker push hardcoreeng/front-base

0 comments on commit 701be73

Please sign in to comment.