In certain regions, pulling Docker images directly or cloning GitHub repositories can be challenging. As a straightforward alternative, creating Docker or Singularity images is an efficient solution. This repositories outlines general methods for seamlessly building functional Docker/SIF images using Gitpod’s cloud servers (e.g., Google Compute Engine).
create an account in gitpod(https://www.gitpod.io/flex-or-classic) follow the guide, choose Gitpod Classic as workspace, the host connect the real international inernet by default.
BIN_VERSION="1.6.1"
sudo docker pull google/deepvariant:"${BIN_VERSION}"
docker image save google/deepvariant:"${BIN_VERSION}" -o deepvariant-"${BIN_VERSION}".target SSH "access token" like 'ssh "xxxxxxxxx@xxxxxx"' in WorkSpace then login local host
scp -r "xxxxxxxxx@xxxxxx":/workspace/gitpod/deepvariant-"${BIN_VERSION}".tar .singularity build deepvariant-"${BIN_VERSION}" docker-archive://deepvariant-"${BIN_VERSION}".targit clone git@github.com:dozhun/gitpod.git
cd gitpod/singularity
bash install a demo (not recommend for newfish)
mkdir nf-LO && cd nf-LO
curl -O https://raw.githubusercontent.com/evotools/nf-LO/main/singularity.def
curl -O https://raw.githubusercontent.com/evotools/nf-LO/main/environment.yml
singularity build nflo.sif singularity.defBIN_VERSION="1.6.1"
singularity build deepvariant-"${BIN_VERSION}".sif docker://google/deepvariant:"${BIN_VERSION}"login local machine
BIN_VERSION="1.6.1"
scp -r "xxxxxxxxx@xxxxxx":/workspace/gitpod/deepvariant-"${BIN_VERSION}".sif .git clone https://github.com/chaozhi/PolyOriginR
tar -czf PolyOriginR.tar.gz PolyOriginRthen login local machine
scp -r "xxxxxxxxx@xxxxxx":/workspace/gitpod/PolyOriginR.tar.gz .dozhun@outlook.com(Zhang Jun)