1
0
mirror of https://github.com/phusion/baseimage-docker.git synced 2026-03-26 04:18:46 +00:00

Fix bugs, added README

This commit is contained in:
Hongli Lai (Phusion)
2013-11-12 11:45:35 +01:00
parent 9661f84da9
commit aee8c8368f
3 changed files with 18 additions and 5 deletions

15
README.md Normal file
View File

@@ -0,0 +1,15 @@
# Use phusion/baseimage as base image. To make your builds reproducible, make
# sure you lock down to a specific version, not to `latest`!
FROM phusion/baseimage:<VERSION>
# Remove authentication rights for insecure_key.
RUN rm -f /root/.ssh/authorized_keys /home/*/.ssh/authorized_keys
# Use baseimage-docker's init process.
CMD ["/sbin/my_init"]
# ...put other build instructions here...
# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*