diff --git a/config/ai.env-template b/config/ai.env-template index d7509ec04..e227bfbe8 100644 --- a/config/ai.env-template +++ b/config/ai.env-template @@ -11,7 +11,7 @@ AI_AUTOSTART=1 -AI_RECOMMENDER=svd +AI_RECOMMENDER=random AI_VERBOSE=1 AI_PMLB_KNOWLEDGEBASE=1 AI_TERM_COND=n_recs diff --git a/docker-compose.yml b/docker-compose.yml index 1891ece4d..6f20a77ff 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,9 @@ services: build: context: . dockerfile: docker/lab/Dockerfile + x-bake: + platforms: + - linux/arm64 tty: true stdin_open: true volumes: @@ -23,6 +26,9 @@ services: build: context: . dockerfile: docker/machine/Dockerfile + x-bake: + platforms: + - linux/arm64 tty: true stdin_open: true volumes: @@ -41,6 +47,9 @@ services: build: context: . dockerfile: docker/dbmongo/Dockerfile + x-bake: + platforms: + - linux/arm64 tty: true stdin_open: true ports: diff --git a/docker/lab/Dockerfile b/docker/lab/Dockerfile index 7b90a853f..30e6d0b07 100644 --- a/docker/lab/Dockerfile +++ b/docker/lab/Dockerfile @@ -110,6 +110,9 @@ RUN cp '/etc/profile.d/.env' '/etc/profile.d/tag.sh' RUN dos2unix /etc/profile.d/tag.sh RUN sed -i "s/TAG=/export TAG=/g" /etc/profile.d/tag.sh +# clean up +RUN apt-get remove -y wget xz-utils + # Start the webserver CMD ["/bin/bash", "/root/start.sh"] diff --git a/docker/machine/Dockerfile b/docker/machine/Dockerfile index 80bf1d216..f9fe32753 100644 --- a/docker/machine/Dockerfile +++ b/docker/machine/Dockerfile @@ -56,6 +56,10 @@ RUN npm install --silent --progress=false COPY ${docker_filepath}/entrypoint.sh /root/ COPY ${docker_filepath}/wait-for-it.sh /root/ RUN dos2unix /root/wait-for-it.sh && dos2unix /root/entrypoint.sh + +# clean up +RUN apt-get remove -y wget xz-utils + RUN ["chmod", "+x", "/root/wait-for-it.sh"] CMD ["/bin/bash", "/root/entrypoint.sh"]