Skip to content

Commit

Permalink
Merge pull request #127 from RNAcentral/codespace
Browse files Browse the repository at this point in the history
Add required tools to the codespace image
  • Loading branch information
AntonPetrov authored Dec 8, 2023
2 parents c2f82af + 6d90838 commit d75a8b0
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM mcr.microsoft.com/devcontainers/universal:2-linux

RUN wget -qO - 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null && \
echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list && \
sudo apt-get -qq update && \
sudo apt-get install --no-install-recommends -qq -y \
imagemagick \
libmagickwand-dev \
chafa \
just
16 changes: 16 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "R2DT",
"build": {
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-vscode-remote.remote-containers",
"ms-azuretools.vscode-docker"
]
}
}
}
2 changes: 2 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ R2DT can be used in a number of ways:
* [API](https://www.ebi.ac.uk/Tools/common/tools/help/index.html?tool=r2dt) powered by EMBL-EBI Web Services
* As a command line tool with [Docker](https://www.docker.com), [Singularity](https://sylabs.io/docs/#singularity), or in a bare metal installation

You can also [![open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/RNAcentral/R2DT)

## Citation

If you use R2DT in your work, please consider citing the following paper:
Expand Down
1 change: 1 addition & 0 deletions base_image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ RUN \
python3-pip \
python3-venv \
python3-cairo \
chafa \
perl && \
rm -rf /var/lib/{apt,lpkg,cache,log}
RUN \
Expand Down

0 comments on commit d75a8b0

Please sign in to comment.