Skip to content

Commit

Permalink
use centos 7 for building gnu/linux version
Browse files Browse the repository at this point in the history
  • Loading branch information
dakyskye committed Jun 13, 2020
1 parent 11f21b3 commit 60f32af
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM rust:latest
FROM maddinat0r/centos-samp:latest

WORKDIR /pawn-env

COPY . .
RUN sh -c "$(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs)" -- -y

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

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

WORKDIR /pawn-env

COPY . .

ENTRYPOINT [ "make", "build" ]

0 comments on commit 60f32af

Please sign in to comment.