0.7.0
Version 0.7 simplifies installation by making Docker optional in most cases and improves the build output. Version 0.7 also fixes a long-standing issue where indirect target dependencies were ignored.
Added
- A new
--mode
option forbuild
,exec
, andrun
allows specifying whether commands should be run inside or outside Docker. yb build
can now build multiple targets in one invocation.- Environment variables in
.yourbase.yml
files may now be specified as a map (e.g.FOO: BAR
) instead of a list (e.g.- FOO=BAR
). - Build environments will now pick up credentials from
$HOME/.netrc
after any credentials from$XDG_CONFIG_HOME/yb/netrc
. This can be overridden with theNETRC
environment variable. To revert to the previous behavior, setNETRC=/dev/null
. - yb now obeys the
DOCKER_HOST
environment variable. yb checkconfig
and other commands that read.yourbase.yml
will display an error if the targets have a dependency cycle.- yb attempts to detect some common Docker configuration issues and inform the user about them.
- yb now obeys the
NO_COLOR
environment variable and propagates it to the build environment. exec
build packs can now be specified underexec.dependencies.runtime
in.yourbase.yml
.
Changed
- Commands run as part of
build
,exec
, orrun
now run without Docker by default. You can get the old behavior by running with--mode=container
. - Tool output has been changed to be more compact, to be easier to trace command output, and to include more timing information.
yb platform
is now an alias foryb version
.
Fixed
yb init
no longer crashes when not given a--lang
flag if there was a problem connecting to the Docker daemon.yb build
andyb run
now build indirect dependencies, not just direct dependencies.- yb no longer assumes that Docker build environments are
linux/amd64
.
Deprecated
- The
host_only
property in.yourbase.yml
is now ignored. It may be removed in a future version. - The
--no-container
option inbuild
andrun
is now equivalent to--mode=no-container
. It is still recognized, but no longer shown in documentation and may be removed in a future version.