diff --git a/Dockerfile b/Dockerfile index 039895b079e..bfa2bf4092f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,10 +11,11 @@ RUN cd /src && \ make -j $(getconf _NPROCESSORS_ONLN) clean && \ make -j $(getconf _NPROCESSORS_ONLN) && \ make -j $(getconf _NPROCESSORS_ONLN) install -RUN ln -sf "$PS2SDK/ee/lib/libcglue.a" "$PS2DEV/ee/mips64r5900el-ps2-elf/lib/libcglue.a" -RUN ln -sf "$PS2SDK/ee/lib/libpthreadglue.a" "$PS2DEV/ee/mips64r5900el-ps2-elf/lib/libpthreadglue.a" -RUN ln -sf "$PS2SDK/ee/lib/libkernel.a" "$PS2DEV/ee/mips64r5900el-ps2-elf/lib/libkernel.a" -RUN ln -sf "$PS2SDK/ee/lib/libcdvd.a" "$PS2DEV/ee/mips64r5900el-ps2-elf/lib/libcdvd.a" +# Create symbolink links using relative paths +RUN (cd $PS2DEV && ln -sf ps2sdk/ee/lib/libcglue.a ee/mips64r5900el-ps2-elf/lib/libcglue.a && cd -) +RUN (cd $PS2DEV && ln -sf ps2sdk/ee/lib/libpthreadglue.a ee/mips64r5900el-ps2-elf/lib/libpthreadglue.a && cd -) +RUN (cd $PS2DEV && ln -sf ps2sdk/ee/lib/libkernel.a ee/mips64r5900el-ps2-elf/lib/libkernel.a && cd -) +RUN (cd $PS2DEV && ln -sf ps2sdk/ee/lib/libcdvd.a ee/mips64r5900el-ps2-elf/lib/libcdvd.a && cd -) # Second stage of Dockerfile FROM alpine:latest