Re: Phix fix
- Posted by axtens_bruce 6 days ago
- 166 views
So after forking phix-test-runner and building the docker image I get
bugmagnet@LAPTOP-H6HBEGA9:/mnt/c/Users/bugma/Dropbox/Projects/phix-test-runner$ bin/run-tests-in-docker.sh
failed to fetch metadata: fork/exec /usr/local/lib/docker/cli-plugins/docker-buildx: no such file or directory
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 55.3kB
Step 1/8 : FROM ubuntu:24.04
---> 97bed23a3497
Step 2/8 : ARG PHIX_VERSION=1.0.5a
---> Using cache
---> 333753918bc0
Step 3/8 : RUN apt update && apt install -y wget unzip
---> Using cache
---> f42c79a2dd7c
Step 4/8 : RUN zipname="phix.${PHIX_VERSION}.zip" && wget "http://phix.x10.mx/p64" && wget "http://phix.x10.mx/${zipname}" && mv p64 p && chmod 777 p && mv p /usr/local/bin/p && unzip "${zipname}" -d /usr/local/phix && mv /usr/local/phix/builtins /usr/local/bin/builtins && cd /usr/local/bin && find "/usr/local/phix" -type f -executable -exec ln -s {} \; && echo "done?"
---> Using cache
---> ee186e32add7
Step 5/8 : RUN p --version
---> Using cache
---> b6822f2c2694
Step 6/8 : WORKDIR /opt/test-runner
---> Using cache
---> 9b38a9594cc7
Step 7/8 : COPY . .
---> Using cache
---> f15d97d5e365
Step 8/8 : ENTRYPOINT ["/opt/test-runner/bin/run.sh"]
---> Using cache
---> d41568a18f5e
Successfully built d41568a18f5e
Successfully tagged exercism/phix-test-runner:latest
all-fail: testing...
all-fail: done
all-fail: comparing results.json to expected_results.json
empty-file: testing...
empty-file: done
empty-file: comparing results.json to expected_results.json
partial-fail: testing...
partial-fail: done
partial-fail: comparing results.json to expected_results.json
success: testing...
success: done
success: comparing results.json to expected_results.json
syntax-error: testing...
syntax-error: done
syntax-error: comparing results.json to expected_results.json

