Skip to content

Commit

Permalink
Re-apply PR 2794
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Aug 15, 2021
1 parent 79ec6a5 commit e4032f4
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ Without `docker-compose` the container creation could be tedious and repetitive,

```bash
$ sudo docker run -d \
-v ~/mycroft-config:/home/mycroft/.mycroft \
-v ~/mycroft-config:/home/mycroft/.config/mycroft \
-v ~/mycroft-web-cache:/var/tmp \
-v mycroft_ipc:/tmp/mycroft/ipc \
-v mycroft_skills_config:/home/mycroft/.config/mycroft \
-v mycroft_skills_config:/home/mycroft/.local/share/mycroft/skills \
-v mycroft_skills:/opt/mycroft/skills \
-v mycroft_skills_venv:/opt/mycroft-venv \
-v mycroft_skills_repo:/opt/mycroft \
Expand Down
2 changes: 1 addition & 1 deletion audio/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LABEL vendor=Smartgic.io \
io.smartgic.is-beta="no" \
io.smartgic.is-production="no" \
io.smartgic.version="${TAG}" \
io.smartgic.release-date="2021-01-01"
io.smartgic.release-date="2021-08-15"

WORKDIR /home/mycroft/core

Expand Down
4 changes: 2 additions & 2 deletions base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LABEL vendor=Smartgic.io \
io.smartgic.is-beta="no" \
io.smartgic.is-production="no" \
io.smartgic.version="${TAG}" \
io.smartgic.release-date="2021-01-02"
io.smartgic.release-date="2021-08-15"

ENV TERM linux
ENV DEBIAN_FRONTEND noninteractive
Expand Down Expand Up @@ -38,4 +38,4 @@ RUN git clone https://github.com/MycroftAI/mycroft-core.git \
pip3 install -r ${MYCROFT_DIR}/requirements/requirements.txt && \
echo "${MYCROFT_DIR}" > ${VIRTUAL_ENV}/lib/python$(eval ${PYTHON_VERSION})/site-packages/mycroft.pth && \
rm -rf ${HOME}/.cache && \
mkdir -p /tmp/mycroft/ipc /home/mycroft/.mycroft /tmp/mycroft/cache
mkdir -p /tmp/mycroft/ipc /home/mycroft/.config/mycroft /tmp/mycroft/cache
2 changes: 1 addition & 1 deletion bus/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LABEL vendor=Smartgic.io \
io.smartgic.is-beta="no" \
io.smartgic.is-production="no" \
io.smartgic.version="${TAG}" \
io.smartgic.release-date="2021-01-01"
io.smartgic.release-date="2021-08-15"

WORKDIR /home/mycroft/core

Expand Down
2 changes: 1 addition & 1 deletion cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LABEL vendor=Smartgic.io \
io.smartgic.is-beta="no" \
io.smartgic.is-production="no" \
io.smartgic.version="${TAG}" \
io.smartgic.release-date="2021-01-01"
io.smartgic.release-date="2021-08-15"

WORKDIR /home/mycroft/core

Expand Down
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
image: smartgic/mycroft-bus:${VERSION}
network_mode: host
volumes:
- ~/mycroft-config:/home/mycroft/.mycroft
- ~/mycroft-config:/home/mycroft/.config/mycroft
- mycroft_ipc:/tmp/mycroft/ipc

mycroft_enclosure:
Expand All @@ -39,7 +39,7 @@ services:
image: smartgic/mycroft-enclosure:${VERSION}
network_mode: host
volumes:
- ~/mycroft-config:/home/mycroft/.mycroft
- ~/mycroft-config:/home/mycroft/.config/mycroft
- mycroft_ipc:/tmp/mycroft/ipc
depends_on:
- mycroft_bus
Expand All @@ -51,7 +51,7 @@ services:
image: smartgic/mycroft-cli:${VERSION}
network_mode: host
volumes:
- ~/mycroft-config:/home/mycroft/.mycroft
- ~/mycroft-config:/home/mycroft/.config/mycroft
- mycroft_ipc:/tmp/mycroft/ipc
- mycroft_skills_venv:/opt/mycroft-venv
- mycroft_skills_repo:/opt/mycroft
Expand All @@ -71,7 +71,7 @@ services:
PULSE_SERVER: unix:${XDG_RUNTIME_DIR}/pulse/native
PULSE_COOKIE: /home/mycroft/.config/pulse/cookie
volumes:
- ~/mycroft-config:/home/mycroft/.mycroft
- ~/mycroft-config:/home/mycroft/.config/mycroft
- mycroft_ipc:/tmp/mycroft/ipc
- mycroft_cache:/tmp/mycroft/cache
- ~/.config/pulse/cookie:/home/mycroft/.config/pulse/cookie:ro
Expand All @@ -91,7 +91,7 @@ services:
PULSE_SERVER: unix:${XDG_RUNTIME_DIR}/pulse/native
PULSE_COOKIE: /home/mycroft/.config/pulse/cookie
volumes:
- ~/mycroft-config:/home/mycroft/.mycroft
- ~/mycroft-config:/home/mycroft/.config/mycroft
- ~/mycroft-web-cache:/var/tmp
- ~/.config/pulse/cookie:/home/mycroft/.config/pulse/cookie:ro
- ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro
Expand All @@ -114,14 +114,14 @@ services:
PULSE_COOKIE: /home/mycroft/.config/pulse/cookie
CRYPTOGRAPHY_DONT_BUILD_RUST: 1
volumes:
- ~/mycroft-config:/home/mycroft/.mycroft
- ~/mycroft-config:/home/mycroft/.config/mycroft
- ~/mycroft-web-cache:/var/tmp
- ~/.config/pulse/cookie:/home/mycroft/.config/pulse/cookie:ro
- ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro
- mycroft_ipc:/tmp/mycroft/ipc
- mycroft_cache:/tmp/mycroft/cache
- mycroft_skills_venv:/opt/mycroft-venv
- mycroft_skills_config:/home/mycroft/.config/mycroft
- mycroft_skills_config:/home/mycroft/.local/share/mycroft/skills
- mycroft_skills_repo:/opt/mycroft
- mycroft_skills:/opt/mycroft/skills
- /sys:/sys:ro
Expand Down
2 changes: 1 addition & 1 deletion enclosure/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LABEL vendor=Smartgic.io \
io.smartgic.is-beta="no" \
io.smartgic.is-production="no" \
io.smartgic.version="${TAG}" \
io.smartgic.release-date="2021-01-01"
io.smartgic.release-date="2021-08-15"

WORKDIR /home/mycroft/core

Expand Down
2 changes: 1 addition & 1 deletion skills/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LABEL vendor=Smartgic.io \
io.smartgic.is-beta="no" \
io.smartgic.is-production="no" \
io.smartgic.version="${TAG}" \
io.smartgic.release-date="2021-01-01"
io.smartgic.release-date="2021-08-15"

WORKDIR /home/mycroft/core

Expand Down
2 changes: 1 addition & 1 deletion voice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LABEL vendor=Smartgic.io \
io.smartgic.is-beta="no" \
io.smartgic.is-production="no" \
io.smartgic.version="${TAG}" \
io.smartgic.release-date="2021-01-01"
io.smartgic.release-date="2021-08-15"

ENV DEBIAN_FRONTEND noninteractive

Expand Down

0 comments on commit e4032f4

Please sign in to comment.