Skip to content

Add entrypoint and more versions #9

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

Merged
merged 3 commits into from
Sep 25, 2014
Merged

Add entrypoint and more versions #9

merged 3 commits into from
Sep 25, 2014

Conversation

yosifkit
Copy link
Contributor

Fixes #7 (auto chowns on start through the entrypoint script)

Add all the versions that are new.

@yosifkit
Copy link
Contributor Author

$ ./bashbrew/build.sh ./redis --namespaces="stackbrew"
Processing redis:2.6.17 ...
Processing redis:2.6 ...
Processing redis:2.8.10 ...
Processing redis:2.8.11 ...
Processing redis:2.8.12 ...
Processing redis:2.8.13 ...
Processing redis:2.8.14 ...
Processing redis:2.8.15 ...
Processing redis:2.8.16 ...
Processing redis:2.8.17 ...
Processing redis:2.8 ...
Processing redis:latest ...
Processing redis:2.8.6 ...
Processing redis:2.8.7 ...
Processing redis:2.8.8 ...
Processing redis:2.8.9 ...
$ docker images redis
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
redis               2.8.9               f6a95ad63de0        11 minutes ago      110.8 MB
redis               2.8.8               1cea06062bee        13 minutes ago      110.7 MB
redis               2.8.7               1d5e232b337d        15 minutes ago      110.7 MB
redis               2.8.6               9c625acf78da        17 minutes ago      110.7 MB
redis               latest              9fa5f990893e        20 minutes ago      110.8 MB
redis               2.8                 9fa5f990893e        20 minutes ago      110.8 MB
redis               2.8.17              9fa5f990893e        20 minutes ago      110.8 MB
redis               2.8.16              51b809a60efb        22 minutes ago      110.8 MB
redis               2.8.15              de4449b62704        24 minutes ago      110.8 MB
redis               2.8.14              c964fe27db3d        27 minutes ago      110.8 MB
redis               2.8.13              afb87e7cf83a        29 minutes ago      110.8 MB
redis               2.8.12              0d366bac951f        32 minutes ago      110.7 MB
redis               2.8.11              181007a0c004        35 minutes ago      110.8 MB
redis               2.8.10              828dadc36dc6        43 minutes ago      110.8 MB
redis               2.6                 af193b37a1ea        43 minutes ago      110.5 MB
redis               2.6.17              af193b37a1ea        43 minutes ago      110.5 MB
$ docker images stackbrew/redis
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
stackbrew/redis     2.8.9               f6a95ad63de0        11 minutes ago      110.8 MB
stackbrew/redis     2.8.8               1cea06062bee        13 minutes ago      110.7 MB
stackbrew/redis     2.8.7               1d5e232b337d        15 minutes ago      110.7 MB
stackbrew/redis     2.8.6               9c625acf78da        17 minutes ago      110.7 MB
stackbrew/redis     2.8                 9fa5f990893e        20 minutes ago      110.8 MB
stackbrew/redis     2.8.17              9fa5f990893e        20 minutes ago      110.8 MB
stackbrew/redis     latest              9fa5f990893e        20 minutes ago      110.8 MB
stackbrew/redis     2.8.16              51b809a60efb        22 minutes ago      110.8 MB
stackbrew/redis     2.8.15              de4449b62704        24 minutes ago      110.8 MB
stackbrew/redis     2.8.14              c964fe27db3d        27 minutes ago      110.8 MB
stackbrew/redis     2.8.13              afb87e7cf83a        29 minutes ago      110.8 MB
stackbrew/redis     2.8.12              0d366bac951f        32 minutes ago      110.7 MB
stackbrew/redis     2.8.11              181007a0c004        35 minutes ago      110.8 MB
stackbrew/redis     2.8.10              828dadc36dc6        43 minutes ago      110.8 MB
stackbrew/redis     2.6.17              af193b37a1ea        43 minutes ago      110.5 MB
stackbrew/redis     2.6                 af193b37a1ea        43 minutes ago      110.5 MB

set -e

if [ "$1" = 'redis-server' ]; then
chown -R redis /data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this just be chown -R redis . instead?

@yosifkit
Copy link
Contributor Author

Done, tis now chown -R redis .

@tianon
Copy link
Contributor

tianon commented Sep 25, 2014

LGTM

tianon added a commit that referenced this pull request Sep 25, 2014
Add entrypoint and more versions
@tianon tianon merged commit d98dbd5 into redis:master Sep 25, 2014
@tianon tianon deleted the chown branch September 25, 2014 22:02
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

Successfully merging this pull request may close these issues.

Permissions on mounted /data volume not correct
2 participants