Skip to content
Open
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ hs_err_pid*
/target/
/log/
*~

# Intellij
.idea
*.iml
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM maven:3-openjdk-11 AS build
WORKDIR /opt/powertac/sample-broker/build
COPY . .
RUN mvn clean package

FROM openjdk:11-jre-slim
ENV BROKER_JAR=sample-broker-1.9.0.jar
WORKDIR /opt/powertac/sample-broker
COPY --from=build /opt/powertac/sample-broker/build/target/${BROKER_JAR} ./sample-broker.jar
ENTRYPOINT ["java", "-jar", "/opt/powertac/sample-broker/sample-broker.jar"]
Empty file added entrypoint.sh
Empty file.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
<parent>
<groupId>org.powertac</groupId>
<artifactId>powertac-parent</artifactId>
<version>1.9.0-SNAPSHOT</version>
<version>1.9.0</version>
<relativePath />
</parent>

<properties>
<powertac.version>1.9.0-SNAPSHOT</powertac.version>
<powertac.version>1.9.0</powertac.version>
<exec.args></exec.args>
<syst.args></syst.args>
</properties>
Expand Down