Retrieve softwares versions
Run the script retrieve-versions
to retrieve and dump all information into folder generated
:
bin/retrieve-versions
Retrieved information can be used in your shell scripts:
# Use local usage
export $(xargs < generated/docker/docker-ce/latest)
curl --location --output /tmp/docker.tgz "${DOCKER_CE_LINUX_RELEASE}"
tar --directory /tmp --extract --file /tmp/docker.tgz
# Use remote usage
export $(curl --location "https://gitlab.com/timonier/version-lister/raw/generated/tianon/gosu/latest" | xargs)
curl --location --output /tmp/docker.tgz "${DOCKER_CE_LINUX_RELEASE}"
tar --directory /tmp --extract --file /tmp/docker.tgz