Skip to content

Releases: JoshuaSchlichting/jo.sh

0.1.4

30 Aug 00:55
Compare
Choose a tag to compare
  • Added history command (a docker history alias)
  • Upgraded default Python version to 3.12
  • Ensured config files auto-created at ~/.config/josh/ are not created as root when installed with sudo

Full Changelog: 0.1.1...0.1.4

0.1.0

28 Aug 22:15
Compare
Choose a tag to compare

This release:

  • fixes a pyproject.toml python version bug
  • renames the --image build option to --tagv
  • introduces a --version,-v option for jo.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

27 Aug 21:23
Compare
Choose a tag to compare

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

25 Aug 04:58
d402178
Compare
Choose a tag to compare
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