Browse Source

bump mono from 5.12 to 5.16

pull/123/head
nierdz 2 years ago
parent
commit
c55a472aad
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      Dockerfile

+ 3
- 2
Dockerfile View File

@ -1,4 +1,4 @@
FROM mono:5.12.0.226 AS webminerpool-build
FROM mono:5.16 AS webminerpool-build
ARG DONATION_LEVEL=0.03
@ -8,14 +8,15 @@ COPY hash_cn /hash_cn
RUN sed -ri "s/^(.*DonationLevel = )[0-9]\.[0-9]{2}/\1${DONATION_LEVEL}/" /server/Server/DevDonation.cs && \
apt-get -qq update && \
apt-get -qq install build-essential && \
rm -rf /var/lib/apt/lists/* && \
cd /hash_cn/libhash && \
make && \
cd /server && \
msbuild Server.sln /p:Configuration=Release_Server /p:Platform="any CPU"
FROM mono:5.12.0.226
VOLUME ["/root"]
FROM mono:5.16
RUN mkdir /webminerpool
COPY entrypoint.sh /entrypoint.sh

Loading…
Cancel
Save