Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two-step provisioning: Stuck at composer install #17

Open
shizonic opened this issue Jun 20, 2018 · 3 comments
Open

Two-step provisioning: Stuck at composer install #17

shizonic opened this issue Jun 20, 2018 · 3 comments

Comments

@shizonic
Copy link

Try to create a Two-step provisioning image with the official neos-demo distribution repository url:

FROM dimaip/docker-neos-alpine:latest
ENV PHP_TIMEZONE=Europe/Zurich
ENV REPOSITORY_URL=https://github.com/neos/neos-demo-distribution.git
RUN /provision-neos.sh

At the composer install line of the provision-neos.sh it hangs. My cpu load is at 100% since about 2 hours and nothing happens.

@dimaip
Copy link
Member

dimaip commented Jun 20, 2018

Don't experience this issue so don't know how to help. Feel free to provide a PR if you figure out the problem.

@shizonic
Copy link
Author

shizonic commented Jun 20, 2018

Sorry I should post my real Dockerfile:

FROM dimaip/docker-neos-alpine:latest

ARG ADMIN_PASSWORD=admin
ARG DB_HOST=db
ARG DB_DATABASE=db
ARG DB_USER=admin
ARG DB_PASS=pass

ENV PHP_TIMEZONE=Europe/Zurich \
	REPOSITORY_URL=https://github.com/neos/neos-demo-distribution.git \
	ADMIN_PASSWORD=${ADMIN_PASSWORD} \
	DB_HOST=db \
	DB_DATABASE=${DB_DATABASE} \
	DB_USER=${DB_USER} \
	DB_PASS=${DB_PASS}

RUN /provision-neos.sh

and I try to build it by running:

docker build \
	--build-arg ADMIN_PASSWORD=${ADMIN_PASSWORD} \
	--build-arg DB_DATABASE=${NEOS_HOST} \
	--build-arg DB_USER=${NEOS_HOST} \
	--build-arg DB_PASS=mypassword \
	-t neos-demo .

Could it be because of the build args?

@shizonic
Copy link
Author

Okay it seems like it is a problem with the neos-demo-distribution repository. If I switch to the neos-base-distribution it seems to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants