1
0
mirror of https://github.com/phusion/baseimage-docker.git synced 2026-03-26 12:29:07 +00:00

Merge branch 'master' into Theaxiom-patch-1

This commit is contained in:
Travis Rowland
2018-01-31 22:57:45 -08:00
committed by GitHub
3 changed files with 18 additions and 15 deletions

View File

@@ -3,17 +3,20 @@ sudo: required
services: services:
- docker - docker
script: env:
- make build global:
- NAME=phusion/baseimage
# - VERSION=${TRAVIS_TAG}
- VERSION=${TRAVIS_BRANCH}
deploy: script:
- provider: script - docker build -t ${NAME}:${VERSION} --rm image
script: make test_release - env NAME=${NAME} VERSION=${VERSION} ./test/runner.sh
on:
branch: master after_success:
tags: true - docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}";
condition: '$TRAVIS_TAG =~ ^[0-9]+(\.[0-9]+)*$' docker push ${NAME}:${VERSION};
- provider: script # - if [ "${TRAVIS_BRANCH}" == "master" ]; then
script: make test_master # docker tag ${NAME}:${VERSION} ${NAME}:latest
on: # docker push ${NAME}:latest;
branch: master # fi

View File

@@ -1,5 +1,5 @@
NAME = phusion/baseimage NAME = phusion/baseimage
VERSION = 0.9.22 VERSION = 0.10.0
.PHONY: all build test tag_latest release ssh .PHONY: all build test tag_latest release ssh

View File

@@ -450,7 +450,7 @@ Then, you can start your container with
docker run -d -v `pwd`/myfolder:/etc/my_init.d my/dockerimage docker run -d -v `pwd`/myfolder:/etc/my_init.d my/dockerimage
This will initialize sshd on container boot. You can then access it with the insecure key as below, or using the methods to add a secure key. Further, you can publish the port to your machine with -p 22:2222 allowing you to ssh to localhost:2222 instead of looking up the ip address. This will initialize sshd on container boot. You can then access it with the insecure key as below, or using the methods to add a secure key. Further, you can publish the port to your machine with -p 2222:22 allowing you to ssh to 127.0.0.1:2222 instead of looking up the ip address of the container.
<a name="ssh_keys"></a> <a name="ssh_keys"></a>
#### About SSH keys #### About SSH keys