Sha256: fe75ab9fd5447e56e9ea19b6e3c39829d407c4f61d742c65094bc8048992f53e
Contents?: true
Size: 619 Bytes
Versions: 119
Compression:
Stored size: 619 Bytes
Contents
#!/bin/bash DOCKERFILE_PATH=Dockerfiles prepare_svn_install() { SVN_REV=${APL_VERSION#svn} APL_DIR=apl-src svn co "svn://svn.savannah.gnu.org/apl/trunk@${SVN_REV}" $APL_DIR BUILD_ARGS="--build-arg apl_dir=${APL_DIR}" DOCKERFILE=svn.dockerfile } prepare_release_install() { APL_DEB=apl_${APL_VERSION}-1_amd64.deb wget ftp://ftp.gnu.org/gnu/apl/${APL_DEB} BUILD_ARGS="--build-arg apl_deb=${APL_DEB}" DOCKERFILE=release.dockerfile } if [[ ${APL_VERSION} =~ ^svn ]]; then prepare_svn_install else prepare_release_install fi docker build -f ${DOCKERFILE_PATH}/${DOCKERFILE} -t apl ${BUILD_ARGS} .
Version data entries
119 entries across 119 versions & 1 rubygems