move Dockerfile to workspace root

This commit is contained in:
zonyitoo
2022-06-29 01:36:34 +08:00
parent 0f72001378
commit 59e80ff1fe
3 changed files with 2 additions and 4 deletions

View File

@@ -34,5 +34,3 @@ jobs:
target: ${{ matrix.bin }}
tags: ${{ steps.metadata.outputs.tags }}
push: true
context: .
file: ./docker/Dockerfile

View File

@@ -115,8 +115,8 @@ docker pull ghcr.io/shadowsocks/ssserver-rust:latest
If you want to build the Docker image yourself, you need to use the [BuildX](https://docs.docker.com/buildx/working-with-buildx/).
```bash
docker buildx build -t shadowsocks/ssserver-rust:latest -t shadowsocks/ssserver-rust:v1.11.1 --target ssserver ./docker
docker buildx build -t shadowsocks/sslocal-rust:latest -t shadowsocks/sslocal-rust:v1.11.1 --target sslocal ./docker
docker buildx build -t shadowsocks/ssserver-rust:latest -t shadowsocks/ssserver-rust:v1.11.1 --target ssserver .
docker buildx build -t shadowsocks/sslocal-rust:latest -t shadowsocks/sslocal-rust:v1.11.1 --target sslocal .
```
#### Run the container