Skip to content

Commit

Permalink
chore: switch to node:4-alpine
Browse files Browse the repository at this point in the history
This is a smaller image that should speed up tests...
  • Loading branch information
josegonzalez committed Jun 20, 2020
1 parent a9e130b commit ef46db5
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ jobs:
HEROKUISH_VERSION=$(grep HEROKUISH_VERSION deb.mk | head -n1 | cut -d' ' -f3)
docker pull gliderlabs/herokuish:v$HEROKUISH_VERSION
docker save -o build/herokuish.tar gliderlabs/herokuish:v$HEROKUISH_VERSION
docker pull node:4
docker save -o build/node.tar node:4
docker pull node:4-alpine
docker save -o build/node.tar node:4-alpine
- persist_to_workspace:
root: /home/circleci/project
paths:
Expand Down
2 changes: 1 addition & 1 deletion tests/apps/dockerfile-dokku-scale/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:4
FROM node:4-alpine

EXPOSE 3001/udp
EXPOSE 3000/tcp
Expand Down
2 changes: 1 addition & 1 deletion tests/apps/dockerfile-noexpose/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:4
FROM node:4-alpine

COPY . /app
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion tests/apps/dockerfile-procfile-bad/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:4
FROM node:4-alpine

EXPOSE 3001/udp
EXPOSE 3000/tcp
Expand Down
2 changes: 1 addition & 1 deletion tests/apps/dockerfile-procfile/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:4
FROM node:4-alpine

EXPOSE 3001/udp
EXPOSE 3000/tcp
Expand Down
2 changes: 1 addition & 1 deletion tests/apps/dockerfile/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:4
FROM node:4-alpine

EXPOSE 3001/udp
EXPOSE 3000/tcp
Expand Down
4 changes: 2 additions & 2 deletions tests/ci/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ setup_circle() {
sudo -E chown dokku:ubuntu /home/dokku/.dokkurc
fi
sudo -E chmod 775 /home/dokku/.dokkurc
# pull node:4 image for testing
sudo docker pull node:4
# pull node:4-alpine image for testing
sudo docker pull node:4-alpine
}

case "$1" in
Expand Down

0 comments on commit ef46db5

Please sign in to comment.