You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN apt-get update && apt-get -y install openjdk-8-jdk
#copy from local to container and rename jar
COPY etl-1.0-SNAPSHOT.jar /batch.jar
RUN chmod 777 batch.jar
# Run the batch job( You can start a job like this as well .
# In our case we will be overriding the CMD command when we submit the batch job)
# will turn to : java -jar batch.jar AWS_BATCH_IP_SOURCE_BUCKET X AWS_BATCH_IP_SOURCE_BUCKET_KEY A AWS_BATCH_IP_DESTINATION_BUCKET Y AWS_BATCH_IP_DESTINATION_KEY B
# where X, Y: means aws s3 bucket name and A,B s3 object keys.