Get AI to make me a POC. Will need to push to the git so I can test. Will revert if it doesn't work and probably just delete commit history for it as well.
This commit is contained in:
+12
@@ -20,6 +20,7 @@ RUN apt-get update \
|
||||
git \
|
||||
unzip \
|
||||
upx-ucl \
|
||||
zip \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Go (latest stable version)
|
||||
@@ -58,6 +59,17 @@ RUN case "${TARGETARCH}" in \
|
||||
&& mv android-ndk-${ANDROID_NDK_VERSION} ${ANDROID_NDK_HOME} \
|
||||
&& rm android-ndk-${ANDROID_NDK_VERSION}-linux.zip
|
||||
|
||||
RUN case "${TARGETARCH}" in \
|
||||
amd64) LDID_ARCH="x86_64" ;; \
|
||||
arm64) LDID_ARCH="aarch64" ;; \
|
||||
*) LDID_ARCH="" ;; \
|
||||
esac \
|
||||
&& if [ -n "${LDID_ARCH}" ]; then \
|
||||
wget -q "https://github.com/ProcursusTeam/ldid/releases/download/v2.1.5-procursus7/ldid_linux_${LDID_ARCH}" \
|
||||
-O /usr/local/bin/ldid \
|
||||
&& chmod +x /usr/local/bin/ldid; \
|
||||
fi
|
||||
|
||||
# Copy package files and lockfile
|
||||
COPY Overlord-Server/package.json Overlord-Server/bun.lock* ./
|
||||
|
||||
|
||||
Reference in New Issue
Block a user