If `.bashrc` exists at the root of the source tree, it will be used as the `~/.bashrc` inside the container.
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
... | ... |
@@ -142,6 +142,9 @@ VOLUME /var/lib/docker |
142 | 142 |
WORKDIR /go/src/github.com/docker/docker |
143 | 143 |
ENV DOCKER_BUILDTAGS apparmor selinux btrfs_noversion |
144 | 144 |
|
145 |
+# Let us use a .bashrc file |
|
146 |
+RUN ln -sfv $PWD/.bashrc ~/.bashrc |
|
147 |
+ |
|
145 | 148 |
# Install man page generator |
146 | 149 |
COPY vendor /go/src/github.com/docker/docker/vendor |
147 | 150 |
# (copy vendor/ because go-md2man needs golang.org/x/net) |