Skip to content

Commit

Permalink
chore: bump node to 18.14.2 (#2976)
Browse files Browse the repository at this point in the history
  • Loading branch information
lightswitch05 authored Feb 23, 2023
1 parent c962547 commit c3d463d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.10.0
18.14.2
20 changes: 10 additions & 10 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
ARG image=zwave-js-ui

# STEP: 1 build
FROM node:18.10.0-alpine3.16 AS build-zui
FROM node:18.14.2-alpine3.16 AS build-zui

WORKDIR /usr/src/app

RUN apk --no-cache add \
coreutils \
coreutils \
jq \
linux-headers \
alpine-sdk \
alpine-sdk \
python3

COPY package.json yarn.lock .yarnrc.yml ./
Expand Down Expand Up @@ -54,18 +54,18 @@ RUN if [ ! -z "$updateDevices" ]; \
fi

# STEP: 2 (runtime)
FROM node:18.10.0-alpine3.16
FROM node:18.14.2-alpine3.16

RUN apk add --no-cache \
RUN apk add --no-cache \
libstdc++ \
openssl \
libgcc \
libusb \
tzdata \
eudev
libgcc \
libusb \
tzdata \
eudev


# Copy files from previous build stage
# Copy files from previous build stage
COPY --from=build-zui /usr/src/app /usr/src/app

ENV ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db
Expand Down
6 changes: 3 additions & 3 deletions docker/Dockerfile.contrib
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG SRC=git-clone-src
#####################

# Option 1 (default): Clone from git
FROM node:18.10.0-bullseye AS git-clone-src
FROM node:18.14.2-bullseye AS git-clone-src
ARG ZWJ_BRANCH=master
ARG ZWJ_REPOSITORY=https://github.com/zwave-js/node-zwave-js
ARG ZUI_BRANCH=master
Expand All @@ -20,7 +20,7 @@ RUN git clone -b ${ZWJ_BRANCH} ${ZWJ_REPOSITORY}
RUN git clone -b ${ZUI_BRANCH} --depth 1 ${ZUI_REPOSITORY}

# Option 2: Copy from local sources
FROM node:18.10.0-bullseye AS local-copy-src
FROM node:18.14.2-bullseye AS local-copy-src
COPY --chown=node node-zwave-js /home/node/node-zwave-js
COPY --chown=node zwave-js-ui /home/node/zwave-js-ui

Expand Down Expand Up @@ -91,7 +91,7 @@ RUN mkdir my_dist \
#####################
# Setup Final Image #
#####################
FROM node:18.10.0-bullseye
FROM node:18.14.2-bullseye
LABEL maintainer="robertsLando"

ENV ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db
Expand Down

0 comments on commit c3d463d

Please sign in to comment.