Skip to content

Commit

Permalink
Merge pull request #34 from liuzan-info/p2a
Browse files Browse the repository at this point in the history
config aliyunpan
  • Loading branch information
liuzan-info authored Mar 19, 2024
2 parents 33ef0eb + f45d30f commit b721664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ WORKDIR /srv/shiny-server
# Config aliyunpan for download PhosMap datasets
ARG GITHUB_TOKEN
ENV GITHUB_TOKEN=${GITHUB_TOKEN}
ENV ALIYUNPAN_CONFIG_DIR=/srv/shiny-server/.github/workflows/
RUN echo '#!/bin/bash\npython3 "$@"' > /usr/bin/python && chmod +x /usr/bin/python
RUN sudo apt-get update && sudo apt-get install -y python3-pip libgtk-3-dev cmake build-essential libcurl4-gnutls-dev libxml2 libxml2-dev libodbc1 libssl-dev libv8-dev libsodium-dev curl && apt-get clean
RUN sudo curl -fsSL http://file.tickstep.com/apt/pgp | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/tickstep-packages-archive-keyring.gpg > /dev/null && echo "deb [signed-by=/etc/apt/trusted.gpg.d/tickstep-packages-archive-keyring.gpg arch=amd64,arm64] http://file.tickstep.com/apt aliyunpan main" | sudo tee /etc/apt/sources.list.d/tickstep-aliyunpan.list > /dev/null && sudo apt-get update && sudo apt-get install -y aliyunpan
RUN export ALIYUNPAN_CONFIG_DIR=/srv/shiny-server/.github/workflows/
RUN aliyunpan download PhosMap_datasets.zip --save && unzip PhosMap_datasets.zip && rm PhosMap_datasets.zip

# Install dependencies
Expand Down

0 comments on commit b721664

Please sign in to comment.