summaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2017-07-22 19:06:10 -0700
committerGeorge Fraser <george@fivetran.com>2017-07-22 19:06:10 -0700
commit40b576a3bdf5ef74773d31ea6ae2da3b32055681 (patch)
treee144d534a4765d9742b594f8e0bf117a5f78ad7c /.circleci
parent42cb5e6f769755b419905777144ea003f2158c8e (diff)
downloadjava-language-server-40b576a3bdf5ef74773d31ea6ae2da3b32055681.zip
Use a custom docker image
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/Dockerfile3
-rw-r--r--.circleci/config.yml2
-rw-r--r--.circleci/make.sh4
3 files changed, 8 insertions, 1 deletions
diff --git a/.circleci/Dockerfile b/.circleci/Dockerfile
new file mode 100644
index 0000000..932ce44
--- /dev/null
+++ b/.circleci/Dockerfile
@@ -0,0 +1,3 @@
+FROM circleci/openjdk:8-jdk
+
+RUN sudo apt-get install openjdk-8-source \ No newline at end of file
diff --git a/.circleci/config.yml b/.circleci/config.yml
index bd549d0..6dee48c 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -7,7 +7,7 @@ jobs:
build:
docker:
# specify the version you desire here
- - image: circleci/openjdk:8u121
+ - image: georgewfraser/vscode-javac-circleci
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
diff --git a/.circleci/make.sh b/.circleci/make.sh
new file mode 100644
index 0000000..516771f
--- /dev/null
+++ b/.circleci/make.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+docker login
+docker build . --tag georgewfraser/vscode-javac-circleci
+docker push georgewfraser/vscode-javac-circleci \ No newline at end of file