Releases: openshift/source-to-image
Releases · openshift/source-to-image
v1.1.8
Corresponds to Origin v3.7.0
- Fixed bug related to restoring multiple environment variables from an .s2ifile
- Include empty directories when sending source code to assemble container
- Ensure directories have proper permissions when extracted
- Make git clone output less noisy unless verbose logging is enabled
- Fixes to git url parsing/handling
- Add
--network
flag to allow indicating the docker network to use for the assemble container - Allow builder images to indicate what user to run assemble as, via
io.openshift.s2i.assemble-user
- Bug related to image pull/image inspection ordering
- Bug related to order of image label overriding
- Fixed handling of broken symlink references
v1.1.7
v1.1.6
- Ensure default pull policy is set
- Support runtime image pull policy configuration
- Remove deprecated --force-pull flag
- Retry on image pull failures
- Increase the log level threshold of some log messages
- Redact credentials from proxy values before logging them
- Binaries are now built fully static
- Release binaries are now build with debug symbols stripped for smaller size
- Share a single docker-engine client instance to reduce go routine creation
- Ensure docker client related go routines are properly terminated
- Fixes to the s2i examples
- Pull image immediately before use to reduce timing window in which the image is removed after being pulled
v1.1.5
- logging cleanup
- remove timeout enforcement on image commit
- fix handling of image pull policy for rebuild operations
- do not force remove containers, kill them first and then remove them
- use "." instead of "source" to run scripts as it is more portable
- fix edge case where internal scripts could get left in the application image
- use image metadata, not container metadata, when probing images for default user information
- support volume mounting flags (e.g. selinux :z) when using volume arguments to builds
v1.1.4
- Invoke callback URL if build fails (align with documentation)
- Fixed potential hang conditions during build operations
- Cleaned up example implementations
- Handle empty docker auth configurations cleanly
- Streamline tar operations to avoid writing temporary directories
- Remove race condition in docker api interaction
v1.1.3
- Remove Kubernetes docker api dependencies in preference to docker-engine client apis
- Fixed handling of image sha ids for pulling/inspecting images
- Tolerate arbitrary numbers of path segments in docker image specifications
- Fixed some timing issues in handling of tar streams
- Improved compatibility with non-native Docker environments (mac, windows, remote docker daemons)
- Fixed regression in handling of git submodules
v1.1.2
- Warn user if they are operating on an empty git repo due to uncommitted local files
- Log stderr output from assemble scripts as info to avoid scary output from things like npm that send all output to stderr
- When overriding the entrypoint, use /usr/bin/env instead of /bin/env and only override the entrypoint if the image includes a default entrypoing
- Fix line number reporting from glog output
- Use correct auth credentials when pulling a runtime image for an extended build
- Switch to docker/docker-client and k8s/engine-api from fsouza/go-docker-client
- Fix intermittent hang when performing assemble/commit operations
- Increase timeout when waiting on the docker daemon
- Rebuild behavior was broken due to accessing the wrong image for label metadata
v1.1.1
- Properly handle runtime-assemble scripts that exist inside the runtime image
- Fix permission issues with secret injection
- Fix permission denied during temporary directory deletion on Windows
- Override container entrypoint to "/bin/env" during assembly process to avoid conflicts w/ image entrypoints
v1.1.0
The most notable change in this release is the availability of extended builds which are documented here:
https://github.com/openshift/source-to-image/blob/master/docs/runtime_image.md
Other updates/fixes:
- Code cleanup in signal handling logic
- Cleanup image labels
- Reworked logging logic to provide better default logging output
- Fix symlink handling logic in tar stream processing
- Explicitly name containers created by s2i during building
- Fix handling of #ref suffixes on local filesystem git paths
- Replaced broken --recursive flag with working --ignore-submodules flag (defaults to false)
- Updated fsouza/go-dockerclient dependency to latest version, fixing some docker config.json parsing bugs