Skip to content

Commit 60f32af

Browse files
committed
use centos 7 for building gnu/linux version
1 parent 11f21b3 commit 60f32af

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
FROM rust:latest
1+
FROM maddinat0r/centos-samp:latest
22

3-
WORKDIR /pawn-env
4-
5-
COPY . .
3+
RUN sh -c "$(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs)" -- -y
64

7-
RUN apt update; apt install -y gcc-multilib
5+
RUN cp $HOME/.cargo/bin/* /usr/bin/
86

97
RUN rustup install stable-i686-unknown-linux-gnu
108

9+
WORKDIR /pawn-env
10+
11+
COPY . .
12+
1113
ENTRYPOINT [ "make", "build" ]

0 commit comments

Comments
 (0)