This repository was archived by the owner on Dec 5, 2023. It is now read-only.
File tree 4 files changed +8
-7
lines changed
4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
- language : java
2
1
sudo : required
3
2
services :
4
3
- docker
5
- jdk :
6
- - oraclejdk8
7
4
install : true
8
5
9
6
env :
10
7
- GROUP=weaveworksdemos COMMIT=$TRAVIS_COMMIT TAG=$TRAVIS_TAG REPO=msd-java;
11
8
12
9
script :
13
10
- set -e
14
- - travis_wait ./scripts/build.sh;
11
+ - ./scripts/build.sh;
15
12
16
13
after_success :
17
14
- set -e;
Original file line number Diff line number Diff line change @@ -13,4 +13,8 @@ RUN addgroup -g ${SERVICE_GID} ${SERVICE_GROUP} && \
13
13
ln -s /usr/lib/jvm/java-1.8-openjdk/lib/amd64/jli/libjli.so /lib/libjli.so && \
14
14
setcap 'cap_net_bind_service=+ep' $(readlink -f $(which java))
15
15
16
- COPY java.sh /usr/local/bin/java.sh
16
+ COPY java.sh /usr/local/bin/java.sh
17
+
18
+ ARG BUILD_DATE
19
+ ARG BUILD_VERSION
20
+ ARG COMMIT
Original file line number Diff line number Diff line change 1
1
# msd-java
2
- A base image for all the Java based services
2
+ A base image for all the Java based services.
Original file line number Diff line number Diff line change @@ -29,4 +29,4 @@ $DOCKER_CMD build \
29
29
--build-arg BUILD_VERSION=$BUILD_VERSION \
30
30
--build-arg BUILD_DATE=$BUILD_DATE \
31
31
--build-arg COMMIT=$COMMIT \
32
- -t ${DOCKER_REPO} :${COMMIT} $CODE_DIR /Dockerfile ;
32
+ -t ${DOCKER_REPO} :${COMMIT} $CODE_DIR ;
You can’t perform that action at this time.
0 commit comments