All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.3.18 - 2023-07-06
- Extended debug output from
docker_inside.shwhen using--debug
- Switch CI to GitHub Actions
- Check actual return code after adding the user in
docker_inside.sh
0.3.17 - 2023-06-19
- Added
--no-su-execflag to prevent usage of su-exec binary if available. This is helpful for testing & development. Default behavior is unchanged. - Added environment variable
NO_README. If set,long_descriptionwill not be set. This can be used to reduce build time dependencies as thelong_descriptionis only provided for the Pypi upload.
- Improve support for alternative commands to switch the current user. Support
was added for
runuser,sudoandbusybox su. - Switch mainline to branch
main.masteris now deprecated.
- Update image used in travis ci to satisfy urllib3 requirement of
openssl
1.1.1. - Remove deprecated package
setuptools-markdownwith the stock mechanism in setuptools>=38.6.0
0.3.16 - 2021-07-26
- Added
--no-removeflag to keep a container. Default behavior is to delete the container after usage
- Adapt minimum requirements of
pytestandproxy.py
- Adapt unit tests to changed format in proxy.py and fix failing ci
0.3.15 - 2020-11-01
- Take host environment variables to configure a http / https proxy for
docker-inside-setup - Added
--host-networkflag to allowdocker-inside-setupto access the hosts network. This is useful if using a local proxy server.
- Update packaging structure using a separte
srcfolder for the package - Update and simplify
requirements.txt - Migrate to travis-ci.com
- Switch default Python version for ci to
3.8
0.3.14 - 2018-07-07
- Show return code of the running containers with log level info (default) for
docker-insideanddocker-inside-setup. This also ensures thatdocker-inside-setupat least outputs a line about whether it succeeded or failed.
- Update local development environment (
requirements.txt) as there were some false negatives with my current setup (due topytestversion?).
- Avoid parameter
exist_okofos.makedirsas some versions of Python have a broken implementation it seems. - Read output from
docker-inside-setupcommand and show it if--verboseflag is used.
0.3.13 - 2018-06-14
- Added integration test case for
docker-inside-setuppackage verifying basic function.
- Fix broken
docker-inside-setupcommand (regression from0.3.11). Extend test cases to prevent further regressions.
0.3.12 - 2018-05-27
- Fix broken arguments related to bind mounts (introduced in
0.3.11)
0.3.11 - 2018-05-27
- Fix volumes specification handling. It's now possible to mount one host path multiple times
to different locations in the container image (f.e. with different access modes) as this is
possible with
docker run. - Fix precedence of environment variables: First lookup the image, then use environment variables from command line.
0.3.10 - 2018-05-26
- Added support for
--tmpfs(as indocker run) which allows to mount temporary directories inside of docker containers
0.3.9 - 2018-05-13
- Added
--mount-workdiroption which simplifies to mount a work space and set it as working directory (-v /host/path:/container/pathand-w /container/path)
0.3.8 - 2018-02-18
- Added simple
--guioption to mount X11 socket and setDISPLAYenvironment variable. - Added
--initoption to use init (tini) service in container.
- Fixed environment option to use host environment if
=-part is missing in environment specification
0.3.7 - 2018-01-20
- Add automatic deployment to PyPI
- Deploy all commits on master to test.pypi.org
0.3.6 - 2018-01-20
- Install
pandocfor travis CI deployment
0.3.5 - 2018-01-20
- Add
--switch-rootflag to enforce starting the container as root (docker-insidewill still switch to your user afterwards). Might become default behavior.
0.3.4 - 2018-01-09
- Fix documentation for pypi
0.3.1 - 2018-01-09
- Add missing information to setup.py
0.3.0 - 2018-01-07
- Update
README.mdhow to use the project - Integrate with Travis CI to automate testing and project health
- Run a basic test for
ubuntu,busybox,alpine,centosandfedora - Add support for
centosandfedoraimages by checking commands to add users/groups and work around platform specific differences (ascentossymlinkingaddusertouseradd). - Allow to mount the current home directory (
--mount-home), some local directory as home directory (--mount-as-home) or create a temporary home directory in the container (--tmp-home). - Allow to compile
su-execa usingalpine:3.6usingdocker-inside-setupcommand and use this binary to change user (which is better thansu -lregardingttyhandling). - Use
busyboxfor user/group creation if both applets are available. - Skip already existing group id's.
- Create unit tests using
pytest. - Generate
.gitignoreusing http://gitignore.io website. - Publish the project under MIT license.