diff --git a/lab/README.md b/lab/README.md index 17f9f0e..bb1e414 100644 --- a/lab/README.md +++ b/lab/README.md @@ -45,14 +45,17 @@ ## Start the Lab Go into the lab folder in this repository and run: -`chmod u+x run.sh && ./run.sh deploy` +`sudo make deploy` + +## Test the Lab +`sudo make test` ## Stop the Lab -`./run.sh teardown` +`sudo make teardown` ## Rebuild the Lab -`./run.sh rebuild` +`sudo make rebuild` ## Destroy the Lab -`./run.sh cleanup` +`sudo make clean` diff --git a/lab/machines/c-db-01/Dockerfile b/lab/machines/c-db-01/Dockerfile index 29ae9aa..eff9092 100644 --- a/lab/machines/c-db-01/Dockerfile +++ b/lab/machines/c-db-01/Dockerfile @@ -23,6 +23,9 @@ COPY files/adminer-4.8.1.php /var/www/html/adminer.php COPY files/database.sql /var/www/html/database.sql COPY files/customers.sql /var/tmp/customers.sql +RUN mkdir /var/www/html/uploads +RUN chmod 777 /var/www/html/uploads + # Entry ENTRYPOINT service mariadb restart \ && \