What's new
-
The
HOSTNAME
shell variable is now available for environment variable substitution.While
HOSTNAME
isn't a POSIX environment variable (source), shells like Bash make it available as a shell variable, which is confusing for users.Thanks to @lfendy for finding and reporting this issue offline.
What's been fixed
-
When running with
run_as_current_user
enabled, batect will now automatically create the user's home directory inside the container with the correct owner.Thanks to @squirmy for finding and reporting this issue offline.
Getting started
First time using batect? Take a look at the getting started guide, or the Java or Ruby sample projects.
How to upgrade from previous versions
- If you're using batect 0.12 or newer, run
./batect --upgrade
to upgrade automatically. - If you're using an older version of batect, replace the
batect
script in your project with the one attached to this release. (Don't forget to make it executable withchmod +x batect
if need be.)