Skip to content

Commit

Permalink
chore: try another base image
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Nov 24, 2023
1 parent 8878547 commit bd48f44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
timeout-minutes: 120 # prevents this to run indeterminatly
uses: docker/build-push-action@v5
with:
platforms: linux/arm64,linux/amd64,linux/arm/v7
platforms: linux/arm64,linux/amd64,linux/arm/v6,linux/arm/v7
file: docker/Dockerfile
context: . # without this it will clone master branch instead of using local
cache-from: type=gha
Expand All @@ -97,7 +97,7 @@ jobs:
timeout-minutes: 120
uses: docker/build-push-action@v5
with:
platforms: linux/arm64,linux/amd64,linux/arm/v7
platforms: linux/arm64,linux/amd64,linux/arm/v6,linux/arm/v7
file: docker/Dockerfile
context: . # without this it will clone master branch instead of using local
cache-from: type=gha
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG image=zwave-js-ui

# STEP: 1 build
FROM node:20.10.0-bookworm AS build-zui
FROM node:20.10.0-alpine3.17 AS build-zui

WORKDIR /usr/src/app

Expand Down Expand Up @@ -59,7 +59,7 @@ RUN if [ ! -z "$updateDevices" ]; \
fi

# STEP: 2 (runtime)
FROM node:20.10.0-bookworm
FROM 20.10.0-alpine3.17

RUN apk add --no-cache \
libstdc++ \
Expand Down

0 comments on commit bd48f44

Please sign in to comment.