Skip to content

Commit

Permalink
revert to original dockerfile for fewer changes
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Tolliver <[email protected]>
  • Loading branch information
markdouglasswork authored and ktollivervmw committed Oct 2, 2023
1 parent 3f29708 commit d259582
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
FROM harbor-repo.vmware.com/dockerhub-proxy-cache/library/maven:3.9.0-eclipse-temurin-11 as compile
COPY . proxy
RUN cd proxy; mvn -f proxy clean install -DskipTests -DskipFormatCode

FROM harbor-repo.vmware.com/dockerhub-proxy-cache/library/eclipse-temurin:11
FROM eclipse-temurin:11

# Wavefront authentication can be configured in three different ways: Customers that have been
# onboarded by CSP can set up CSP api tokens or CSP OAuth apps (CSP_APP_ID, CSP_APP_SECRET).
Expand Down Expand Up @@ -36,9 +32,9 @@ EXPOSE 4242

USER wavefront:wavefront

COPY --from=compile proxy/proxy/target/proxy-13.2-spring-boot.jar /opt/wavefront/wavefront-proxy/wavefront-proxy.jar
ADD docker/run.sh /opt/wavefront/wavefront-proxy/run.sh
ADD docker/log4j2.xml /etc/wavefront/wavefront-proxy/log4j2.xml
ADD docker/LICENSE /licenses/LICENSE
ADD wavefront-proxy.jar /opt/wavefront/wavefront-proxy/wavefront-proxy.jar
ADD run.sh /opt/wavefront/wavefront-proxy/run.sh
ADD log4j2.xml /etc/wavefront/wavefront-proxy/log4j2.xml
ADD LICENSE /licenses/LICENSE

CMD ["/bin/bash", "/opt/wavefront/wavefront-proxy/run.sh"]

0 comments on commit d259582

Please sign in to comment.