Last active
September 20, 2019 17:45
-
-
Save AndrewRayCode/ca26a077564363d53d0f86d758af50c5 to your computer and use it in GitHub Desktop.
SumoJanus run error
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
FROM anapsix/alpine-java | |
RUN apk update \ | |
&& apk add ca-certificates wget tar \ | |
&& update-ca-certificates | |
RUN wget --user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" https://script-collection.s3.amazonaws.com/sfdc/r3.1.0/sumojanus-salesforce-dist.3.1.0.tar.gz | |
RUN tar xzvf sumojanus-salesforce-dist.3.1.0.tar.gz | |
RUN echo '[salesforce]' > /sumojanus-salesforce/conf/sumologic.properties \ | |
&& echo 'url = https://test.salesforce.com' > /sumojanus-salesforce/conf/sumologic.properties \ | |
&& echo 'token_file_path = ${path}/data/salesforce.token' > /sumojanus-salesforce/conf/sumologic.properties \ | |
&& echo 'record_file_path = ${path}/data/sf_readfiles.dat' > /sumojanus-salesforce/conf/sumologic.properties \ | |
&& echo '# if you are using a SFDC sandbox environment, set the following to true' > /sumojanus-salesforce/conf/sumologic.properties \ | |
&& echo 'sandbox = true' > /sumojanus-salesforce/conf/sumologic.properties \ | |
&& echo 'interval = hourly' > /sumojanus-salesforce/conf/sumologic.properties | |
WORKDIR /sumojanus-salesforce | |
ENTRYPOINT ./bin/SumoJanus_SF.bash -s |
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
# Copy the Dockerfile into a local folder and then run these commands in that folder: | |
docker build -t test/sumologic . | |
docker run -it test/sumologic:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment