Skip to content

Commit 701be73

Browse files
committed
Add front base image
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
1 parent 463d646 commit 701be73

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

.github/workflows/baseimage.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ jobs:
5252
username: hardcoreeng
5353
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
5454
- name: Publish base image
55+
env:
56+
DOCKER_CLI_HINTS: false
57+
DOCKER_EXTRA: --platform=linux/amd64,linux/arm64
5558
run: |
5659
echo Pushing base image
5760
cd ./dev/base-image

dev/base-image/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
docker build -t hardcoreeng/base -f base.Dockerfile .
44
docker build -t hardcoreeng/rekoni-base -f rekoni.Dockerfile .
5-
docker build -t hardcoreeng/print-base -f print.Dockerfile .
5+
docker build -t hardcoreeng/print-base -f print.Dockerfile .
6+
docker build -t hardcoreeng/front-base -f print.Dockerfile .

dev/base-image/front.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM hardcoreeng/base
2+
3+
WORKDIR /usr/src/app
4+
RUN npm install --ignore-scripts=false --verbose sharp@v0.32.6 --unsafe-perm

dev/base-image/push.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
docker push hardcoreeng/base
44
docker push hardcoreeng/rekoni-base
5-
docker push hardcoreeng/print-base
5+
docker push hardcoreeng/print-base
6+
docker push hardcoreeng/front-base

0 commit comments

Comments
 (0)