Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ztqakita committed Sep 13, 2023
1 parent 9bb36b8 commit e28c1c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- context: "docker/"
base: "brainpy/brainpy"
env:
TARGET_PLATFORMS: linux/amd64,linux/arm64
TARGET_PLATFORMS: linux/amd64
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
DOCKER_TAG_NAME: |
Expand All @@ -40,12 +40,6 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Docker Build & Push (version tag)
uses: docker/build-push-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ $ docker pull brainpy/brainpy:latest

Then, you can run the image with the following command:
```bash
$ docker run -it brainpy/brainpy:latest
$ docker run -it --platform linux/amd64 brainpy/brainpy:latest
```

### Using BrainPy with Binder
Expand Down
4 changes: 2 additions & 2 deletions docs/quickstart/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -225,13 +225,13 @@ If you want to use BrainPy in docker, you can use the following command to pull

.. code:: bash
docker pull brainpy/brainpy
docker pull brainpy/brainpy:latest
You can then run the docker image by:

.. code:: bash
docker run -it brainpy/brainpy
docker run -it --platform linux/amd64 brainpy/brainpy:latest
Please notice that BrainPy docker image is based on the `ubuntu22.04` image, so it only support CPU version of BrainPy.

Expand Down

0 comments on commit e28c1c6

Please sign in to comment.