Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mhx committed Jan 9, 2024
1 parent 6ccaed5 commit b96a70a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ RUN apt install -y \
bash-completion
COPY install-static-libs.sh /usr/local/bin/install-static-libs.sh
RUN bash /usr/local/bin/install-static-libs.sh
RUN wget -O - https://github.com/upx/upx/releases/download/v4.2.2/upx-4.2.2-"${ARCH//v8/}"_linux.tar.xz | tar -xJf - -C /usr/local/bin --strip-components=1 --wildcards "*/upx"
ARG ARCH
RUN echo "ARCH: $ARCH"
RUN echo "ARCH: $(bash -c "echo \${0//v8/}" $ARCH)"
RUN wget -O - https://github.com/upx/upx/releases/download/v4.2.2/upx-4.2.2-$(bash -c "echo \${0//v8/}" $ARCH)_linux.tar.xz | tar -xJf - -C /usr/local/bin --strip-components=1 --wildcards "*/upx"
# RUN useradd -g users -u 1000 -m mhx
ARG SCRIPT=build-linux.sh
COPY $SCRIPT /usr/local/bin/run.sh
Expand Down

0 comments on commit b96a70a

Please sign in to comment.