Skip to content

Instantly share code, notes, and snippets.

Created Feb 18, 2022
What would you like to do?
Workato on-prem agent Docker file
FROM openjdk:11-jre-slim
LABEL maintainer="<your email goes here>"
RUN apt-get update -y \
&& apt-get upgrade -y
# Set Workato OPA agent dir
ARG WORKATO_OPA_DIR="/opt/workato-agent"
# Create Workato user and group
RUN useradd -U -d $WORKATO_OPA_DIR workato
# ADD command gunzips and untars the file itself,
ADD workato-agent-linux-x64-2.9.4.tar.gz /opt/
RUN rm -rf $WORKATO_OPA_DIR/jre/
# Copy 3rd party libraries to lib_ext dir
#COPY lib_ext/ $WORKATO_OPA_DIR/lib_ext/
#COPY lib_ext/sapidoc3.jar $WORKATO_OPA_DIR/lib_ext/
#COPY lib_ext/sapjco3.jar $WORKATO_OPA_DIR/lib_ext/
# Copy config file
COPY config.yml $WORKATO_OPA_DIR/conf/config.yml
RUN chown -R workato:workato $WORKATO_OPA_DIR
-cp "/opt/workato-agent/lib/*" com.workato.agent.Main \
--pem=/opt/workato-agent/cert/tls.crt \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment