-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c2676f6
commit cd22768
Showing
1 changed file
with
25 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# docker build -t ascp:3.7.2 -f Dockerfile . | ||
# singularity build aspera-ascp-3.7.2.sif docker-daemon://ascp:3.7.2 | ||
# mv aspera-ascp-3.7.2.sif ascp | ||
# chmod +x ascp | ||
|
||
FROM ubuntu:24.04 | ||
|
||
RUN apt-get update -y && apt-get install -y --no-install-recommends wget zip && \ | ||
wget http://download.asperasoft.com/download/sw/cli/3.7.2/aspera-cli-3.7.2.354.010c3b8-linux-64-release.sh && \ | ||
bash aspera-cli-3.7.2.354.010c3b8-linux-64-release.sh && \ | ||
rm -r aspera-cli-3.7.2.354.010c3b8-linux-64-release.sh && \ | ||
apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
RUN chmod a+rx /root/.aspera/cli/bin/* && \ | ||
mv /root/.aspera /opt/aspera | ||
|
||
# Add the common Aspera Connect private key | ||
RUN mkdir -p /opt/aspera/connect/etc/ && \ | ||
wget --no-check-certificate -O /opt/aspera/connect/etc/asperaweb_id_dsa.openssh https://gist.githubusercontent.com/pansapiens/67822d6d642252e73190e74bbc666924/raw/4340f0e46a9381d38f045cbfd0a1fad820c62794/asperaweb_id_dsa.openssh && \ | ||
ln -s /opt/aspera/connect/etc/asperaweb_id_dsa.openssh /asperaweb_id_dsa.openssh | ||
|
||
ENV PATH=/opt/aspera/cli/bin:$PATH | ||
|
||
ENTRYPOINT ["ascp"] | ||
|