Skip to content

Commit d76bb48

Browse files
committed
tell docker about the target platform
1 parent 80895b0 commit d76bb48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-docker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ function run {
1919
npm run --silent server --port=8000 --pidfile=$PIDFILE &
2020

2121
# run proxies container
22-
docker run --name=tmp_proxies ${DOCKER_PORTS} -dt mnot/proxy-cache-tests host.docker.internal \
22+
docker run --platform linux/amd64 --name=tmp_proxies ${DOCKER_PORTS} -dt mnot/proxy-cache-tests host.docker.internal \
2323
> /dev/null
2424

2525
# run nuster container
26-
docker run --name=tmp_nuster -p 9001:9001 \
26+
docker run --platform linux/amd64 --name=tmp_nuster -p 9001:9001 \
2727
-v "${PWD}/docker/nuster/nuster.cfg:/etc/nuster/nuster.cfg:ro" -dt nuster/nuster:latest \
2828
> /dev/null
2929

0 commit comments

Comments
 (0)