1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-03 23:23:03 +00:00

Fix error is Dockerfile_maiko for wsl1

This commit is contained in:
Frank Halasz
2025-06-03 19:01:14 -07:00
parent 6d171bff1d
commit 59953c2629

View File

@@ -23,10 +23,10 @@ RUN cd ${INSTALL_LOCATION}/bin \
./makeright init; \
fi
# Build specially for WSL1 by "fooling" a linux build
RUN arch="$(./machinetype)" \
RUN cd ${INSTALL_LOCATION}/bin \
&& arch="$(./machinetype)" \
&& if [ "$arch" = "x86_64" ] || [ "$arch" = "aarch64" ]; then \
cd ${INSTALL_LOCATION}/bin \
&& echo "echo #!/bin/sh" > osversion \
echo "echo #!/bin/sh" > osversion \
&& echo "echo wsl1" >> osversion \
&& ./makeright x cleanup \
&& ./makeright x \