Skip to content

Commit

Permalink
[OOE-258] Added argument for agent url. (takipi-field#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
cseverino789 authored Jan 11, 2021
1 parent d59494d commit 22b3529
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 22b3529

Please sign in to comment.