mirror of
/repos/baseimage-docker.git
synced 2026-02-27 17:41:59 +01:00
No longer recommend setting 'ENV HOME' in Dockerfile
This is because https://github.com/docker/docker/issues/2968 has been fixed.
This commit is contained in:
@@ -136,9 +136,6 @@ The image is called `phusion/baseimage`, and is available on the Docker registry
|
|||||||
# a list of version numbers.
|
# a list of version numbers.
|
||||||
FROM phusion/baseimage:<VERSION>
|
FROM phusion/baseimage:<VERSION>
|
||||||
|
|
||||||
# Set correct environment variables.
|
|
||||||
ENV HOME /root
|
|
||||||
|
|
||||||
# Use baseimage-docker's init system.
|
# Use baseimage-docker's init system.
|
||||||
CMD ["/sbin/my_init"]
|
CMD ["/sbin/my_init"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user