-
Notifications
You must be signed in to change notification settings - Fork 902
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7914 from plumpy/container_builds
chore(build): Update Dockerfiles for new cloudbuild configs
- Loading branch information
Showing
3 changed files
with
13 additions
and
14 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,8 +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 build --no-daemon -PskipTests | ||
FROM openjdk:8 | ||
MAINTAINER [email protected] | ||
ENV GRADLE_USER_HOME /workspace/.gradle | ||
ENV GRADLE_OPTS -Xmx2048m | ||
CMD ./gradlew build --no-daemon -PskipTests |
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,8 @@ | ||
FROM debian:stable-slim | ||
MAINTAINER [email protected] | ||
COPY --from=compile /compiled_sources/build/webpack /opt/deck/html | ||
COPY --from=compile /compiled_sources/docker /opt/deck/docker | ||
MAINTAINER [email protected] | ||
|
||
COPY build/webpack /opt/deck/html | ||
COPY docker /opt/deck/docker | ||
WORKDIR /opt/deck | ||
|
||
RUN docker/setup-apache2.sh | ||
|
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,8 @@ | ||
FROM ubuntu:bionic | ||
MAINTAINER [email protected] | ||
COPY --from=compile /compiled_sources/build/webpack /opt/deck/html | ||
COPY --from=compile /compiled_sources/docker /opt/deck/docker | ||
MAINTAINER [email protected] | ||
|
||
COPY build/webpack /opt/deck/html | ||
COPY docker /opt/deck/docker | ||
WORKDIR /opt/deck | ||
|
||
RUN docker/setup-apache2.sh | ||
|