Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Symlink bitnami kubectl location to standard path (#36)
The bitnami base image adds their location of kubectl to the PATH. PATH=/opt/bitnami/kubectl/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin However this PATH location can be lost during a docker export/import of the image, making bundling this resource difficult. PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin To resolve this, we now create a symbolic link in the standard PATH location: /usr/local/bin/kubectl -> /opt/bitnami/kubectl/bin/kubectl The link is preserved during export/import, so our resource scripts can still locate kubectl even though the bitnami location is no longer on the PATH. See https://concourse-ci.org/concourse-worker.html#installing-or-upgrading-bundled-resource-types Closes #35
- Loading branch information