forked from takipi-field/overops-event-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OOE-258] Added argument for agent url. (takipi-field#6)
- Loading branch information
1 parent
d59494d
commit 22b3529
Showing
1 changed file
with
2 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ FROM openjdk:8-jdk-slim as BUILDER | |
LABEL maintainer="[email protected]" | ||
|
||
ARG AGENT_VERSION=latest | ||
ARG AGENT_URL=https://s3.amazonaws.com/app-takipi-com/deploy/linux/takipi-agent | ||
|
||
WORKDIR /overops-event-generator | ||
|
||
|
@@ -16,7 +17,7 @@ COPY mvnw mvnw.cmd pom.xml ./ | |
|
||
RUN ./mvnw clean package -DskipTests | ||
|
||
RUN curl -sL https://s3.amazonaws.com/app-takipi-com/deploy/linux/takipi-agent-${AGENT_VERSION}.tar.gz | tar -xvzf - | ||
RUN curl -sL ${AGENT_URL}-${AGENT_VERSION}.tar.gz | tar -xvzf - | ||
|
||
|
||
FROM openjdk:8-jre-slim | ||
|