Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #90

Merged
merged 2 commits into from
May 11, 2023
Merged

Dev #90

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions client/Java/examples/employee-dashboard-app/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM eclipse-temurin:11-jdk-alpine as builder

USER root
WORKDIR /opt/app
COPY .mvn/ .mvn
COPY mvnw pom.xml ./
Expand All @@ -8,7 +8,8 @@ COPY src ./src
RUN ./mvnw clean package -DskipTests

FROM eclipse-temurin:11-jdk-alpine
USER root
WORKDIR /opt/app
EXPOSE 8080
COPY --from=builder /opt/app/target/*.jar /opt/app/*.jar
ENTRYPOINT ["java","-jar","/opt/app/*.jar"]
ENTRYPOINT ["java","-jar","/opt/app/*.jar"]
8 changes: 4 additions & 4 deletions docker/build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM ubuntu:16.04 AS juno-base

USER root
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -qq install -y \
cmake \
g++ \
Expand All @@ -12,7 +12,7 @@ RUN tar xzvf go${GOLANG_VERSION}.linux-amd64.tar.gz -C /usr/local/

######
FROM juno-base as juno-dev-base

USER root
COPY /src/juno/third_party/rocksdb /vendor/src/rocksdb

WORKDIR /vendor/src/rocksdb
Expand All @@ -22,13 +22,13 @@ WORKDIR /

######
FROM juno-base as juno-dev

USER root
COPY --from=juno-dev-base /vendor/rocksdb/include /usr/local/include
COPY --from=juno-dev-base /vendor/rocksdb/lib /usr/local/lib

######
FROM juno-dev as builder

USER root
COPY /src/juno /juno
COPY /build.sh /build.sh

Expand Down