Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dirs: &dirs
- mailhog
- passenger
- node
- node-legacy
- php-apache
- pnx-packager
- sftp
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea/
2 changes: 2 additions & 0 deletions node-legacy/.hadolint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ignored:
- DL3018
11 changes: 11 additions & 0 deletions node-legacy/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ARG VERSION=10
FROM skpr/node:${VERSION}

USER root

RUN apk add --no-cache \
ruby \
ruby-dev \
ruby-bundler

USER skpr
32 changes: 32 additions & 0 deletions node-legacy/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/usr/bin/make -f

IMAGE=previousnext/node-legacy

define buildimage
docker build --build-arg VERSION=$(1) -t $(IMAGE):$(1) .
endef

define pushimage
docker push $(IMAGE):$(1)
endef

build: build10 build12 build14

lint:
hadolint Dockerfile

build10:
$(call buildimage,10-1.x)

build12:
$(call buildimage,12-1.x)

build14:
$(call buildimage,14-1.x)

push: build
$(call pushimage,10-1.x)
$(call pushimage,12-1.x)
$(call pushimage,14-1.x)

.PHONY: *