diff --git a/.github/workflows/baseimage.yaml b/.github/workflows/baseimage.yaml index f46fb6315e..ac4979acbe 100644 --- a/.github/workflows/baseimage.yaml +++ b/.github/workflows/baseimage.yaml @@ -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 diff --git a/dev/base-image/build.sh b/dev/base-image/build.sh index e1068aeaf9..bd34c61fc7 100755 --- a/dev/base-image/build.sh +++ b/dev/base-image/build.sh @@ -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 . \ No newline at end of file +docker build -t hardcoreeng/print-base -f print.Dockerfile . +docker build -t hardcoreeng/front-base -f print.Dockerfile . \ No newline at end of file diff --git a/dev/base-image/front.Dockerfile b/dev/base-image/front.Dockerfile new file mode 100644 index 0000000000..ce75ce76fc --- /dev/null +++ b/dev/base-image/front.Dockerfile @@ -0,0 +1,4 @@ +FROM hardcoreeng/base + +WORKDIR /usr/src/app +RUN npm install --ignore-scripts=false --verbose sharp@v0.32.6 --unsafe-perm diff --git a/dev/base-image/push.sh b/dev/base-image/push.sh index f82152cd26..8d7c1b5a27 100755 --- a/dev/base-image/push.sh +++ b/dev/base-image/push.sh @@ -2,4 +2,5 @@ docker push hardcoreeng/base docker push hardcoreeng/rekoni-base -docker push hardcoreeng/print-base \ No newline at end of file +docker push hardcoreeng/print-base +docker push hardcoreeng/front-base \ No newline at end of file