-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Issue:
When installing v1.0.5 into docker:19.03.6 container the binary is unable to be launched
# habitus -version
sh: habitus: not found
# md5sum /usr/local/bin/habitus
4f89ce1fe21429117c1b4b65b92d0bf8 /usr/local/bin/habitusPrior versions 1.0.3 and 1.0.4 are successful.
Steps to reproduce:
export HABITUS_VERSION=1.0.5
mkdir -p fred && cd fred
(
echo "FROM docker:19.03.6";
echo "ARG HABITUS_VERSION=1.0.5";
echo "RUN wget -O /usr/local/bin/habitus https://github.com/cloud66-oss/habitus/releases/download/\${HABITUS_VERSION}/habitus_linux_amd64";
echo "RUN chmod a+x /usr/local/bin/habitus";
) > Dockerfile.habitus;
docker build -t habitus:${HABITUS_VERSION} -f Dockerfile.habitus .
docker run --rm -ti habitus:${HABITUS_VERSION} habitus -version
/usr/local/bin/docker-entrypoint.sh: exec: line 61: habitus: not foundChanging HABITUS_VERSION to 1.0.4 yields the correct result:
export HABITUS_VERSION=1.0.4
docker build -t habitus:${HABITUS_VERSION} --build-arg HABITUS_VERSION=${HABITUS_VERSION} -f Dockerfile.habitus .
docker run --rm -ti habitus:${HABITUS_VERSION} habitus -version
Habitus - vv1.0.4 (c) 2017 Cloud 66 Inc.Metadata
Metadata
Assignees
Labels
No labels