Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethjiang committed Jan 15, 2024
2 parents 12b11a7 + f6cbbc5 commit f0eb8a4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions Dockerfile.python3
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
FROM kennethjiang/octopi-1.7.2.2:python3


RUN echo "deb http://archive.debian.org/debian/ stretch main non-free contrib" > /etc/apt/sources.list && \
echo "deb-src http://archive.debian.org/debian/ stretch main non-free contrib" >> /etc/apt/sources.list && \
echo "deb http://archive.debian.org/debian-security/ stretch/updates main" >> /etc/apt/sources.list && \
echo "deb-src http://archive.debian.org/debian-security/ stretch/updates main" >> /etc/apt/sources.list

RUN echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/99no-check-valid-until


RUN apt-get update

RUN apt-get install -y netcat

RUN pip3 install ipdb
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ Follow [Obico Setup Guide](https://www.obico.io/docs/user-guides/octoprint-plugi
docker compose up -d
```

Will start a series of containers that support the plugin (eg mock video streaming) as well as an octoprint container for python2 and python3. However, to enable interactive debugging the plugin containers are not running the plugins yet.
Will start a series of containers that support the plugin (eg mock video streaming) as well as an octoprint container for python2 and python3. However, to enable interactive debugging the plugin containers are not running the plugins yet.

In another terminal:

To install the plugin in the container run:
```bash
docker compose exec {op/op_python_2} octoprint dev plugin:install
docker compose exec {op/op_python2} octoprint dev plugin:install
```

Then to start octoprint (and by extension the plugin) run:
Expand Down

0 comments on commit f0eb8a4

Please sign in to comment.