Releases: JoshuaSchlichting/jo.sh
Releases · JoshuaSchlichting/jo.sh
0.1.6 Docker-in-Docker enabled
This patch enabled Docker in Docker by mounting the host's /var/run/docker.sock
to the container when jo.sh run
is executed.
Full Changelog: 0.1.5...0.1.6
0.1.5
Full Changelog: 0.1.4...0.1.5
Added ability to use -p
and --port
to specify ports on jo.sh run
. Also updated an inaccurate start up message regarding the image tag, which may not be what is inside of pyproject.toml
when jo.sh build
is executed with --tagv
, an option for manual overrides of the Python version.
0.1.4
- Added
history
command (adocker history
alias) - Upgraded default Python version to 3.12
- Ensured config files auto-created at
~/.config/josh/
are not created asroot
when installed withsudo
Full Changelog: 0.1.1...0.1.4
0.1.0
This release:
- fixes a pyproject.toml python version bug
- renames the
--image
build
option to--tagv
- introduces a
--version
,-v
option forjo.sh
to display the current version - adds
jo.sh run [--detach|-d]
- adds
jo.sh stop
Full Changelog: 0.0.9...0.1.0
0.0.9
Full Changelog: 0.0.6...0.0.9
Since 0.0.6
, the following have been added:
- Default
PYTHON_IMAGE_VERSION
is now pulled from./pyproject.toml
if this file exists. - If Nexus environment variables are detected, causing Nexus secrets to be injected into the container, then Poetry will be automatically configured to use Nexus:
RUN --mount=type=secret,id=nexus,uid=1000 . /run/secrets/nexus \ && poetry config repositories.nexus $NEXUS_PYPI_URL \ && poetry config http-basic.nexus $NEXUS_PYPI_USER $NEXUS_PYPI_PASSWORD
0.0.6
Usage: ./jo.sh [COMMAND] [OPTIONS]
Commands:
build: Build the container
--poetry-install: Install the dependencies in the pyproject.toml file into the image
--no-cache: Do not use cache when building the image
--no-cache-all: Do not use cache at all when building the image
--image [IMAGE]: Use a different Python image (default: 3.10-slim-buster)
clean: Stop and remove the container and image
install: Install this script to /usr/local/bin/jo.sh and create a josh symlink (may require sudo)
uninstall: Uninstall this script from /usr/local/bin/jo.sh (may require sudo)
help: Show this help message