Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Docker image fails #23

Closed
KleinSamuel opened this issue Sep 16, 2024 · 3 comments
Closed

Building Docker image fails #23

KleinSamuel opened this issue Sep 16, 2024 · 3 comments

Comments

@KleinSamuel
Copy link

Hello,

when building the Docker image I get the following error.

Steps to reproduce:

wget https://github.com/AlgoLab/galig/releases/tag/v1.1.7
tar xzvf galig-1.1.7.tar.gz
cd galig-1.1.7/docker/
docker build -t galig .

Part of the log:

[...]
STEP 10/16: RUN git clone --depth=1 --recursive https://github.com/AlgoLab/galig.git
Cloning into 'galig'...
--> 838ce15143da
STEP 11/16: RUN cd galig ; make prerequisites
make[1]: *** No rule to make target 'prerequisites'.  Stop.
make: *** [target.mk:17: /galig/obj] Error 2
Error: building at STEP "RUN cd galig ; make prerequisites": while running runtime: exit status 2

Do I need to use a specific version/tag for this to work?

@KleinSamuel
Copy link
Author

Related to Issue #24

@ldenti
Copy link
Member

ldenti commented Sep 17, 2024

I think this is now solved as well.

Just a bit more of info: we had to make some changes to compilation in order to publish asgal in bioconda. This broke something. But anyway it is safe to use v1.1.7. In the meantime, we will try to fix the Dockerfile to use the latest version.

Thanks again!

@ldenti
Copy link
Member

ldenti commented Sep 17, 2024

In any case, if you want to use docker and v1.1.8, you can use the biocontainer created by conda (thanks @yp for pointing this out):

docker pull quay.io/biocontainers/asgal:1.1.8--h43eeafb_1
docker run -it quay.io/biocontainers/asgal:1.1.8--h43eeafb_1 /bin/bash
/usr/local/bin/asgal --help
# this to list all binaries
ls /usr/local/bin/SpliceAwareAligner /usr/local/bin/asgal_*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants