Skip to content

Commit

Permalink
Remove unused image build arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
ppawlowski committed Sep 18, 2023
1 parent db9ab0a commit 977762c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 25 deletions.
6 changes: 0 additions & 6 deletions file-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
FROM node:16-alpine

ARG REGISTRY
ARG REGISTRY_TOKEN
ARG TAG
RUN if [[ ! -z "$REGISTRY_TOKEN" ]]; then echo "//$REGISTRY/:_authToken=$REGISTRY_TOKEN" >> ~/.npmrc ; fi
RUN if [[ ! -z "$REGISTRY" ]] ; then npm config set @flowforge:registry "https://$REGISTRY"; fi

RUN apk add --no-cache --virtual build-base g++ make py3-pip sqlite-dev python3
RUN npm config set python `which python3` --global

Expand Down
7 changes: 0 additions & 7 deletions flowforge-container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
FROM node:16-alpine

ARG REGISTRY
ARG REGISTRY_TOKEN
ARG TAG
RUN if [[ ! -z "$REGISTRY_TOKEN" ]]; then echo "//$REGISTRY/:_authToken=$REGISTRY_TOKEN" >> ~/.npmrc ; fi
RUN if [[ ! -z "$REGISTRY" ]] ; then npm config set @flowforge:registry "https://$REGISTRY"; fi

RUN apk add --no-cache --virtual build-base g++ make py3-pip sqlite-dev python3
RUN npm config set python `which python3` --global

WORKDIR /usr/src/forge
RUN mkdir app bin etc var
COPY package.json /usr/src/forge/app
WORKDIR /usr/src/forge/app
# RUN if [[ -z "$TAG" ]]; then npm install --production --no-audit --no-fund ; else npm install --production --no-audit --no-fund --tag $TAG; fi
RUN npm install --production --no-audit --no-fund
ENV FLOWFORGE_HOME=/usr/src/forge

Expand Down
4 changes: 0 additions & 4 deletions node-red-container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
FROM nodered/node-red:3.0.2-16

ARG REGISTRY
ARG REGISTRY_TOKEN
ARG BUILD_TAG=latest
RUN if [[ ! -z "$REGISTRY_TOKEN" ]]; then echo "//$REGISTRY/:_authToken=$REGISTRY_TOKEN" >> ~/.npmrc ; fi
RUN if [[ ! -z "$REGISTRY" ]] ; then npm config set @flowforge:registry "https://$REGISTRY"; fi

COPY healthcheck.js /healthcheck.js

Expand Down
4 changes: 0 additions & 4 deletions node-red-container/Dockerfile-2.2.x
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
FROM nodered/node-red:2.2.3-16

ARG REGISTRY
ARG REGISTRY_TOKEN
ARG BUILD_TAG=latest
RUN if [[ ! -z "$REGISTRY_TOKEN" ]]; then echo "//$REGISTRY/:_authToken=$REGISTRY_TOKEN" >> ~/.npmrc ; fi
RUN if [[ ! -z "$REGISTRY" ]] ; then npm config set @flowforge:registry "https://$REGISTRY"; fi

COPY healthcheck.js /healthcheck.js

Expand Down
4 changes: 0 additions & 4 deletions node-red-container/Dockerfile-3.1
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
FROM nodered/node-red:3.1.0-16

ARG REGISTRY
ARG REGISTRY_TOKEN
ARG BUILD_TAG=latest
RUN if [[ ! -z "$REGISTRY_TOKEN" ]]; then echo "//$REGISTRY/:_authToken=$REGISTRY_TOKEN" >> ~/.npmrc ; fi
RUN if [[ ! -z "$REGISTRY" ]] ; then npm config set @flowforge:registry "https://$REGISTRY"; fi

COPY healthcheck.js /healthcheck.js

Expand Down

0 comments on commit 977762c

Please sign in to comment.