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:
6
.github/workflows/Dockerfile_maiko
vendored
6
.github/workflows/Dockerfile_maiko
vendored
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user