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

Error when building on Mac OS #23

Closed
dielsonsales opened this issue Sep 17, 2019 · 1 comment
Closed

Error when building on Mac OS #23

dielsonsales opened this issue Sep 17, 2019 · 1 comment

Comments

@dielsonsales
Copy link

I tried building the docker images from Mac OS Mojave, but got the following error:

 ---> Using cache
 ---> 6426cc624a50
Step 23/38 : RUN echo "upload_max_filesize = 4M" > /etc/php/7.3/fpm/conf.d/appwrite.ini
 ---> Using cache
 ---> 99e962e6f8c6
Step 24/38 : ADD ./docker/nginx.conf /etc/nginx/nginx.conf
 ---> Using cache
 ---> 73a882a5e42b
Step 25/38 : ADD ./docker/ssl/nginx.crt /etc/nginx/ssl/nginx.crt
 ---> Using cache
 ---> 34eef6a96cda
Step 26/38 : ADD ./docker/ssl/nginx.key /etc/nginx/ssl/nginx.key
 ---> Using cache
 ---> 7021855c6f4a
Step 27/38 : RUN mkdir -p /var/run/php
 ---> Using cache
 ---> ef38618f3eb5
Step 28/38 : ADD ./docker/www.conf /etc/php/7.3/fpm/pool.d/www.conf
 ---> Using cache
 ---> 36561753c444
Step 29/38 : ADD ./docker/supervisord.conf /etc/supervisord.conf
 ---> Using cache
 ---> 812872157578
Step 30/38 : ADD ./docker/entrypoint.sh /entrypoint.sh
 ---> Using cache
 ---> a26c1c55dace
Step 31/38 : RUN chmod 775 /entrypoint.sh
 ---> Using cache
 ---> 114796cf3448
Step 32/38 : ADD ./app /usr/share/nginx/html/app
 ---> edc3ea67b66a
Step 33/38 : ADD ./public /usr/share/nginx/html/public
 ---> 25a63d99c57a
Step 34/38 : ADD ./src /usr/share/nginx/html/src
 ---> 9eca4401b521
Step 35/38 : ADD ./vendor /usr/share/nginx/html/vendor
ERROR: Service 'appwrite' failed to build: ADD failed: stat /var/lib/docker/tmp/docker-builder533278007/vendor: no such file or directory

OS: MacOS Mojave 10.14.6
Docker Desktop: 2.1.0.3 (38240)
Engine: 19.03.2
Compose: 1.24.1

@eldadfux
Copy link
Member

@dielsonsales please follow installation as mention on the main README file. Notice you don't need to clone the repo.

If you wish to setup a development environment to apply code changes check this tutorial:
https://github.com/appwrite/appwrite/blob/master/CONTRIBUTING.md#setup

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