Skip to content
This repository was archived by the owner on Dec 22, 2020. It is now read-only.

Commit 903a52f

Browse files
committed
feat: Add JDK 9 Dockerfile
1 parent 6ba80b1 commit 903a52f

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.circleci/config.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: docker:17.05.0-ce-git
6+
working_directory: ~/circleci-node-jdk9
7+
8+
branches:
9+
only:
10+
- master
11+
steps:
12+
- checkout
13+
- setup_remote_docker
14+
- run:
15+
name: Install dependencies
16+
command: |
17+
apk add --no-cache py-pip=9.0.0-r1
18+
pip install docker-compose==1.12.0
19+
- run:
20+
name: Build application Docker image
21+
command: |
22+
docker build -f Dockerfile -t circleci-node-jdk9 .
23+
- deploy:
24+
name: Push Docker image
25+
command: |
26+
login="docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS"
27+
${login}
28+
docker tag circleci-node-jdk9 webpackcontrib/circleci-node-jdk9
29+
docker push webpackcontrib/circleci-node-jdk9

0 commit comments

Comments
 (0)