Skip to content

Releases: shipping-docker/vessel

Permission Fixes and More

09 Nov 15:14
Compare
Choose a tag to compare

➡️➡️➡️ 🔥**This version has a breaking changes.**🔥 Thus we'll do a major version change to 2.0.0. **

➡️➡️➡️ Users will be required to re-build their containers.

Breaking Changes

  • Via #30: Use WORKDIR in Dockerfile to simplify Vessel command and get around some grimness when using exec.
  • Via d1c71e6: Dockerfile for app container creates user vessel and changes that user's UID via ENTRYPOINT (anytime a container is started) to match the current user's UID, allowing file writes to the container. This gets around:
    • Linux user file permissions with Docker (which we've gotten around before, but this also allows point 2 below)
    • Commands like ./vessel artisan tinker which write history to $HOME/.config within the container now will have permission to write to that location, whereas before we'd hit an error attempting to write to //.config (file path in root directory, with double back-slash since $HOME=/ by default)

Minor Changes

  • Via #25: MAINTAINER replaced with Label within Dockerfile
  • Via #24: Readme references correct env var

User Permissions

31 Oct 23:08
Compare
Choose a tag to compare

This update fixes user permissions when running CLI commands (mostly on Linux).

Note: Rebuild your containers

This update makes a change to how the app container is built. It's not technically a breaking change, but to get the full update, you'll need to rebuild the containers as documented here.

Update Notes

  • In particular, we run exec commands with the -u flag and set the user ID to the currently running user id.
  • Running commands otherwise will use gosu, which does "magic" to run a command that starts up a container as a non-root user, while letting us do things ahead of time as the root user within the container (the official mysql container does this as well, if you're interested to see it! Installing Gosu - Using Gosu)

Yelling At The User™

20 Oct 21:48
Compare
Choose a tag to compare

Adds a "post-update-cmd" hook in composer.json to remind users to check this space to see if any updates require a rebuilding of their Docker images (which version 1.2 will need!)

Update: It didn't actually work, the hook isn't called when the package is a dependency of a parent project. So, that's fun. I'll need a fancier/better way to tell people when to rebuild their images.

CLI Fixes and Improvements

20 Oct 21:34
Compare
Choose a tag to compare
  • Typo's fixed
  • PHP-FPM sets clear_env to false to allow sending env variables to PHP (good for development, not production, but this isn't a production tool) via #9
  • Don't create extraneous .env".bak" file via #16
  • Source .env file after APP_PORT and MYSQL_PORT defaults are set, so .env file can over-ride the defaults (and allow the .env file to be used over specifying in the CLI manually) via e18cba
  • Pass in all arguments to composer, artisan and phpunit, fixing #18

Full support for Mac and Linux

10 Oct 16:27
Compare
Choose a tag to compare

Support for Linux!

This update deals more properly with Linux volume mounting and file permissions when running Docker directly on a Linux host (which, unlike MacOS, requires no layer of virtualization to run).

Initial Release (Alpha)

10 Oct 16:26
Compare
Choose a tag to compare

Initial release of Vessel, geared towards Mac users.

See https://vessel.shippingdocker.com for documentation.