-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a Docker image for topic generator (#505)
https://ucsc-cgl.atlassian.net/browse/SEAB-6653 --------- Co-authored-by: Kathy Tran <kathylevtran@gmail.com>
- Loading branch information
Showing
5 changed files
with
59 additions
and
5 deletions.
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
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM eclipse-temurin:21.0.2_13-jdk-jammy | ||
|
||
# Update the APT cache | ||
# Prepare for Java download | ||
RUN apt-get update \ | ||
&& apt-get upgrade -y \ | ||
&& apt-get install unzip jq -y --no-install-recommends | ||
|
||
# Install aws cli so dockstore-deploy can use the aws cli to upload files to S3 | ||
RUN curl -s "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o /tmp/awscliv2.zip | ||
RUN unzip -q /tmp/awscliv2.zip -d /tmp | ||
RUN /tmp/aws/install | ||
RUN rm -f /tmp/awscliv2.zip | ||
RUN rm -fr /tmp/aws | ||
|
||
# Copy, for example, topicgenerator-1.16.0-SNAPSHOT.jar, but not topicgenerator-1.16.0-SNAPSHOT-sources.jar | ||
COPY topicgenerator/target/topicgenerator*[^s].jar /home/topic-generator.jar |
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
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