diff --git a/Dockerfile b/Dockerfile index 3ea3d8b1f3594d965971a207805d19d0a23c8d68..4209d837897f636076fe68b35edadeef46ee1cf2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM registry.lakedrops.com/docker/gitlab-drupal-ci:php-${PHP_VERSION} LABEL com.example.vendor="LakeDrops" \ maintainer="juergen.haas@lakedrops.com" \ - version="1.2.1" \ + version="1.2.2" \ description="Drupal development environment from LakeDrops." ENV LAKEDROPS_DEV_ENV 1 diff --git a/l3d b/l3d index b5b5cecacc830e367170c8122bc84223c77b86e1..e21c1c875230bb3633b1204b9bfd821362c6f40e 100755 --- a/l3d +++ b/l3d @@ -4,7 +4,7 @@ function help { echo "L3D - LakeDropsDrupalDev" echo "=========================" echo "" - echo "Version: 1.4.0" + echo "Version: 1.4.1" echo "Info and support: https://gitlab.lakedrops.com/docker/l3d" echo "" echo "Usage:" diff --git a/start-new-project b/start-new-project index 7aca5de49f63a8d7f806f7b852e4d5e1d28cd33a..03bc50e6450a5e9e93b76fc90063d38c128f6896 100755 --- a/start-new-project +++ b/start-new-project @@ -21,9 +21,15 @@ function truncateCurrentDirectory { rm .* > /dev/null 2>&1 } +function restoreEnvFile { + echo "PHP_VERSION=${PHP_VERSION}" >>.env + echo "COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME}" >>.env +} + function create { truncateCurrentDirectory composer create-project ${PROJECT} . --no-interaction + restoreEnvFile } while true; do @@ -48,6 +54,7 @@ while true; do truncateCurrentDirectory git clone ${REPOSITORY} . composer update + restoreEnvFile break fi ;;