1
0
mirror of https://github.com/phusion/baseimage-docker.git synced 2026-03-25 20:07:55 +00:00

Compare commits

...

15 Commits

Author SHA1 Message Date
Hongli Lai (Phusion)
4db83076bd Bump version to 0.9.14 2014-10-01 11:00:21 +02:00
Hongli Lai (Phusion)
fc74a85e5d Update Changelog 2014-10-01 11:00:04 +02:00
Hongli Lai
04173bb162 Merge pull request #142 from andreamtp/patch-1
Update README.md
2014-09-20 14:47:39 +02:00
andreamtp
715a6eebde Update README.md
updated link to the Changelog of the master branch instead of nsenter
2014-09-20 14:42:09 +02:00
Hongli Lai (Phusion)
2d2c13b519 Note 0.9.13 release date 2014-08-22 18:10:34 +02:00
Hongli Lai (Phusion)
2135d2192e Update Changelog 2014-08-22 18:03:35 +02:00
Hongli Lai
ae652517e8 Merge pull request #129 from kingdonb/master
syslog-ng.ctl left around after commit
2014-08-22 16:49:00 +02:00
Kingdon Barrett
212e080b58 syslog-ng.ctl left around after commit
For phusion/baseimage#128
2014-08-07 15:15:07 -04:00
Hongli Lai
97e256cc61 Merge pull request #124 from arkadijs/master
Correct typo
2014-08-04 15:06:34 +02:00
Arkadi Shishlov
f0514872ea Correct typo 2014-08-04 14:51:28 +03:00
Hongli Lai (Phusion)
0de8640bac Change the docker_env group ID from 1000 to 8377. 2014-07-25 14:49:06 +02:00
Hongli Lai (Phusion)
5e5794c528 Bump version to 0.9.13 2014-07-25 14:38:01 +02:00
Hongli Lai (Phusion)
9be2ee2916 Fix my_init not properly exiting with a non-zero exit status when Ctrl-C is pressed. 2014-07-25 14:37:03 +02:00
Hongli Lai (Phusion)
a0d4877272 When releasing, throw an error if the release date isn't noted in Changelog.md 2014-07-17 10:16:23 +02:00
Hongli Lai (Phusion)
a06da035d0 Note 0.9.12 release date 2014-07-17 10:14:01 +02:00
6 changed files with 20 additions and 5 deletions

View File

@@ -1,4 +1,16 @@
## 0.9.12 (not yet released)
## 0.9.14 (release date: 2014-10-01)
* Installed all the latest Ubuntu security updates. This patches Shellshock, among other things.
* Some documentation updates by andreamtp.
## 0.9.13 (release date: 2014-08-22)
* Fixed `my_init` not properly exiting with a non-zero exit status when Ctrl-C is pressed.
* The GID of the `docker_env` group has been changed from 1000 to 8377, in order to avoid GID conflicts with any groups that you might want to introduce inside the container.
* The syslog-ng socket is now deleted before starting the syslog-ng daemon, to avoid the daemon from failing to start due to garbage on the filesystem. Thanks to Kingdon Barrett. Closes GH-129.
* Typo fixes by Arkadi Shishlov.
## 0.9.12 (release date: 2014-07-24)
* We now officially support `nsenter` as an alternative way to login to the container. With official support, we mean that we've provided extensive documentation on how to use `nsenter`, as well as related convenience tools. However, because `nsenter` has various issues, and for backward compatibility reasons, we still support SSH. Please refer to the README for details about `nsenter`, and what the pros and cons are compared to SSH.
* The `docker-bash` tool has been modified to use `nsenter` instead of SSH.

View File

@@ -1,5 +1,5 @@
NAME = phusion/baseimage
VERSION = 0.9.12
VERSION = 0.9.14
.PHONY: all build test tag_latest release ssh
@@ -16,6 +16,7 @@ tag_latest:
release: test tag_latest
@if ! docker images $(NAME) | awk '{ print $$2 }' | grep -q -F $(VERSION); then echo "$(NAME) version $(VERSION) is not yet built. Please run 'make build'"; false; fi
@if ! head -n 1 Changelog.md | grep -q 'release date'; then echo 'Please note the release date in Changelog.md.' && false; fi
docker push $(NAME)
@echo "*** Don't forget to create a tag. git tag rel-$(VERSION) && git push origin rel-$(VERSION)"

View File

@@ -106,7 +106,7 @@ To look around in the image, run:
docker run --rm -t -i phusion/baseimage:<VERSION> /sbin/my_init -- bash -l
where `<VERSION>` is [one of the baseimage-docker version numbers](https://github.com/phusion/baseimage-docker/blob/nsenter/Changelog.md).
where `<VERSION>` is [one of the baseimage-docker version numbers](https://github.com/phusion/baseimage-docker/blob/master/Changelog.md).
You don't have to download anything manually. The above command will automatically pull the baseimage-docker image from the Docker registry.
@@ -147,7 +147,7 @@ You can add additional daemons (e.g. your own app) to the image by creating runi
The shell script must be called `run`, must be executable, and is to be placed in the directory `/etc/service/<NAME>`.
Here's an example showing you how a memached server runit entry can be made.
Here's an example showing you how a memcached server runit entry can be made.
### In memcached.sh (make sure this file is chmod +x):
#!/bin/sh

View File

@@ -291,6 +291,7 @@ def main(args):
info("%s exited with status %d." % (args.main_command[0], exit_status))
except KeyboardInterrupt:
stop_child_process(args.main_command[0], pid)
raise
except BaseException as s:
warn("An error occurred. Aborting.")
stop_child_process(args.main_command[0], pid)

View File

@@ -5,6 +5,7 @@ set -e
# e.g. because of the issue documented at https://github.com/phusion/baseimage-docker/pull/25,
# then we remove it.
if [ ! -S /dev/log ]; then rm -f /dev/log; fi
if [ ! -S /var/lib/syslog-ng/syslog-ng.ctl ]; then rm -f /var/lib/syslog-ng/syslog-ng.ctl; fi
SYSLOGNG_OPTS=""

View File

@@ -11,7 +11,7 @@ touch /etc/container_environment.sh
touch /etc/container_environment.json
chmod 700 /etc/container_environment
groupadd docker_env
groupadd -g 8377 docker_env
chown :docker_env /etc/container_environment.sh /etc/container_environment.json
chmod 640 /etc/container_environment.sh /etc/container_environment.json
ln -s /etc/container_environment.sh /etc/profile.d/