-
Notifications
You must be signed in to change notification settings - Fork 658
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(build): Update Dockerfiles for new cloudbuild configs (#632)
* chore(build): Update Dockerfiles for new cloudbuild configs See spinnaker/buildtool#14 * chore(dockerfile): use openjdk:8 instead of rolling our own
- Loading branch information
Showing
5 changed files
with
14 additions
and
15 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,6 +1,5 @@ | ||
FROM gcr.io/spinnaker-marketplace/gradle_cache | ||
MAINTAINER [email protected] | ||
ENV GRADLE_USER_HOME /gradle_cache/.gradle | ||
COPY . compiled_sources | ||
WORKDIR compiled_sources | ||
RUN ./gradlew --no-daemon clean igor-web:installDist -x test | ||
FROM openjdk:8 | ||
MAINTAINER [email protected] | ||
ENV GRADLE_USER_HOME /workspace/.gradle | ||
ENV GRADLE_OPTS -Xmx2048m | ||
CMD ./gradlew --no-daemon igor-web:installDist -x test |
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,6 +1,6 @@ | ||
FROM alpine:3.11 | ||
MAINTAINER [email protected] | ||
COPY --from=compile /compiled_sources/igor-web/build/install/igor /opt/igor | ||
MAINTAINER [email protected] | ||
COPY igor-web/build/install/igor /opt/igor | ||
RUN apk --no-cache add --update bash openjdk8-jre | ||
RUN adduser -D -S spinnaker | ||
USER spinnaker | ||
|
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,6 +1,6 @@ | ||
FROM alpine:3.11 | ||
MAINTAINER [email protected] | ||
COPY --from=compile /compiled_sources/igor-web/build/install/igor /opt/igor | ||
MAINTAINER [email protected] | ||
COPY igor-web/build/install/igor /opt/igor | ||
RUN apk --no-cache add --update bash openjdk11-jre | ||
RUN adduser -D -S spinnaker | ||
USER spinnaker | ||
|
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,6 +1,6 @@ | ||
FROM ubuntu:bionic | ||
MAINTAINER [email protected] | ||
COPY --from=compile /compiled_sources/igor-web/build/install/igor /opt/igor | ||
MAINTAINER [email protected] | ||
COPY igor-web/build/install/igor /opt/igor | ||
RUN apt-get update && apt-get -y install openjdk-11-jre-headless wget | ||
RUN adduser --disabled-login --system spinnaker | ||
USER spinnaker | ||
|
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,7 +1,7 @@ | ||
FROM ubuntu:bionic | ||
MAINTAINER [email protected] | ||
COPY --from=compile /compiled_sources/igor-web/build/install/igor /opt/igor | ||
MAINTAINER [email protected] | ||
COPY igor-web/build/install/igor /opt/igor | ||
RUN apt-get update && apt-get -y install openjdk-8-jre-headless wget | ||
RUN adduser --disabled-login --system spinnaker | ||
USER spinnaker | ||
CMD ["/opt/igor/bin/igor"] | ||
CMD ["/opt/igor/bin/igor"] |