Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Remove config dirs from VOLUME
Browse files Browse the repository at this point in the history
Per docker issue 3639 Dockerfile that constitute a base image should not
set config dirs w/ VOLUME as downstream Dockerfile can not modify w/ RUN
instructions.

moby/moby#3639

Issue gocd#8
  • Loading branch information
holybit committed Feb 16, 2016
1 parent 529d177 commit ae0e191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.gocd-server
Expand Up @@ -15,7 +15,7 @@ RUN ["groupadd", "-r", "go"]
RUN ["useradd", "-r", "-c", "Go User", "-g", "go", "-d", "/var/go", "-m", "-s", "/bin/bash", "go"]
RUN ["mkdir", "-p", "/var/lib/go-server/addons", "/var/log/go-server", "/etc/go", "/go-addons"]
RUN ["chown", "-R", "go:go", "/var/lib/go-server", "/var/log/go-server", "/etc/go", "/go-addons", "/var/go"]
VOLUME ["/var/lib/go-server", "/var/log/go-server", "/etc/go", "/go-addons", "/var/go"]
VOLUME ["/var/lib/go-server", "/var/log/go-server", "/go-addons"]

WORKDIR /tmp
RUN dpkg -i --debug=10 /tmp/go-server.deb
Expand Down

0 comments on commit ae0e191

Please sign in to comment.