-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Update GradleDockerfile * Bump to OpenJDK11 * Updated Dockerfile * Update Commander utils to use OpenJDK 11. * #157: Updated GradleDockerfile to run current ./gradlew with OpenJDK11 * #157: Parameterized GradleDockerfile * #157: Removed unnecessary build command * #157: Updated .dockerignore * #157: Switched to different OpenJDK source (old one deprecated) and tidied up build * #157: Updated README --------- Co-authored-by: darnjo <josh@reso.org>
- Loading branch information
Showing
8 changed files
with
72 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
out/ | ||
.github | ||
.git | ||
.DS_Store | ||
.idea | ||
.run | ||
odata-openapi/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
FROM alpine:3.17.2 | ||
FROM sapmachine:jdk-headless-ubuntu-11 | ||
|
||
RUN apk add --update bash ca-certificates openjdk8-jre-base nss git gradle && \ | ||
rm -rf /var/cache/apk/* | ||
ARG WORKING_PATH=/home/gradle | ||
ARG BUILD_DIR=${WORKING_PATH}/build | ||
ARG CERTIFICATION_RESULTS_PATH=${BUILD_DIR}/certification | ||
ARG GRADLE_CACHE=${WORKING_PATH}/.gradle | ||
|
||
RUN git clone --single-branch --branch main https://github.com/RESOStandards/web-api-commander.git | ||
WORKDIR ${WORKING_PATH} | ||
|
||
WORKDIR web-api-commander | ||
ADD ./ ./ | ||
|
||
RUN gradle jar | ||
ENV GRADLE_USER_HOME=${GRADLE_CACHE} | ||
|
||
ENTRYPOINT ["gradle"] | ||
CMD ["tasks"] | ||
RUN ./gradlew --no-daemon clean jar | ||
|
||
RUN mkdir -p ${CERTIFICATION_RESULTS_PATH} | ||
RUN ln -s ${CERTIFICATION_RESULTS_PATH} / | ||
|
||
ENTRYPOINT ["./gradlew", "--no-daemon", "--quiet"] | ||
CMD ["tasks"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
org.gradle.jvmargs=-Xmx28g | ||
org.gradle.warning.mode=all | ||
org.gradle.caching=true |
This file was deleted.
Oops, something went wrong.