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

Use a specific CKAN version? #23

Closed
sckott opened this issue Sep 10, 2015 · 6 comments
Closed

Use a specific CKAN version? #23

sckott opened this issue Sep 10, 2015 · 6 comments

Comments

@sckott
Copy link

sckott commented Sep 10, 2015

Is there a way to specify what CKAN version to use? e.g., say I wanted to install v2.3, how would I do that?

Thanks!

@thezelus
Copy link

Hi @sckott

Just clone whichever version of CKAN you want to deploy in https://github.com/ckan/ckan-docker/tree/master/_src and it should work.

I have tried this with latest version from the trunk (CKAN repository) and 2.4, both seem to be working fine.

@sckott
Copy link
Author

sckott commented Sep 12, 2015

Thanks, did you do that manually, or in a Dockerfile?

@thezelus
Copy link

I did it manually on the host machine, but you can always do this in the primary Dockerfile after it adds the directory to the container.

ADD _src/ $CKAN_HOME/src/
ONBUILD ADD _src/ $CKAN_HOME/src/

Another way to do it is create a bash script that clones the desired repositories (CKAN version + extensions) in _src directory and then executes docker-compose up

@sckott
Copy link
Author

sckott commented Sep 13, 2015

Thanks very much!

@florianm
Copy link

@sckott another simple way of running ckan as a docker container is datacats, see my docs for a working setup, supports versions.

@sckott
Copy link
Author

sckott commented Sep 14, 2015

@florianm nice, thanks, give it a try.

mostly making sure I know how to install diff. versions of CKAN for purposes of testing the R client, and investigating problems users come with

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

3 participants