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

Docker updates #486

Merged
merged 2 commits into from
Dec 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/ai.env-template
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ services:
build:
context: .
dockerfile: docker/lab/Dockerfile
x-bake:
platforms:
- linux/arm64
tty: true
stdin_open: true
volumes:
Expand All @@ -23,6 +26,9 @@ services:
build:
context: .
dockerfile: docker/machine/Dockerfile
x-bake:
platforms:
- linux/arm64
tty: true
stdin_open: true
volumes:
Expand All @@ -41,6 +47,9 @@ services:
build:
context: .
dockerfile: docker/dbmongo/Dockerfile
x-bake:
platforms:
- linux/arm64
tty: true
stdin_open: true
ports:
Expand Down
3 changes: 3 additions & 0 deletions docker/lab/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
4 changes: 4 additions & 0 deletions docker/machine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Loading