Source To Image Versions Save

A tool for building artifacts from source and injecting into container images

v1.1.6

7 years ago
  • 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

7 years ago
  • 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

7 years ago
  • 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

7 years ago
  • 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

7 years ago
  • 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

7 years ago
  • 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

7 years ago

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

v1.0.9

8 years ago
  • Fix up test script generated by s2i create

v1.0.8

8 years ago
  • Allow -e (environment) flag to be passed multiple times
  • Revert entrypoint setting behavior due to regression introduced
  • Support bind mounts during build process
  • Better error reporting on image commit failures

v1.0.7

8 years ago
  • Fix source path in nginx example assemble script
  • Handle user:group specification in builder image Dockerfiles (treat as a numeric uid)
  • Override the entrypoint instead of only the command when launching containers for assemble/etc