mirror of https://github.com/ivanch/tcc.git
updating download urls
This commit is contained in:
parent
e8ae8935f2
commit
96ecf8de16
|
@ -12,10 +12,10 @@ RUN dotnet restore
|
||||||
RUN dotnet build -c Release -o out
|
RUN dotnet build -c Release -o out
|
||||||
|
|
||||||
RUN cd out && \
|
RUN cd out && \
|
||||||
wget https://files.ivanch.me/api/public/dl/iFuXSNhw/small-image.png && \
|
wget https://files.ivanch.me/api/public/dl/a8pf5HZL/small-image.png && \
|
||||||
wget https://files.ivanch.me/api/public/dl/81Bkht5C/big-image.png && \
|
wget https://files.ivanch.me/api/public/dl/ZoZDck7M/big-image.png && \
|
||||||
wget https://files.ivanch.me/api/public/dl/nAndfAjK/video.mp4 && \
|
wget https://files.ivanch.me/api/public/dl/URuFVrtX/video.mp4 && \
|
||||||
wget https://files.ivanch.me/api/public/dl/RzXwJG7o/nginx.html && \
|
wget https://files.ivanch.me/api/public/dl/aeZqpr_F/nginx.html && \
|
||||||
rm -rf runtimes && \
|
rm -rf runtimes && \
|
||||||
mkdir -p ./static && \
|
mkdir -p ./static && \
|
||||||
mv small-image.png ./static && \
|
mv small-image.png ./static && \
|
||||||
|
|
|
@ -3,10 +3,10 @@ FROM rust:latest
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apt-get update && apt-get -y install wget && \
|
RUN apt-get update && apt-get -y install wget && \
|
||||||
wget https://files.ivanch.me/api/public/dl/iFuXSNhw/small-image.png && \
|
wget https://files.ivanch.me/api/public/dl/a8pf5HZL/small-image.png && \
|
||||||
wget https://files.ivanch.me/api/public/dl/81Bkht5C/big-image.png && \
|
wget https://files.ivanch.me/api/public/dl/ZoZDck7M/big-image.png && \
|
||||||
wget https://files.ivanch.me/api/public/dl/nAndfAjK/video.mp4 && \
|
wget https://files.ivanch.me/api/public/dl/URuFVrtX/video.mp4 && \
|
||||||
wget https://files.ivanch.me/api/public/dl/RzXwJG7o/nginx.html
|
wget https://files.ivanch.me/api/public/dl/aeZqpr_F/nginx.html
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
|
|
@ -7,16 +7,16 @@ ENV PYTHONUNBUFFERED=1
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y wget && \
|
apt-get install -y wget unzip && \
|
||||||
wget https://github.com/protocolbuffers/protobuf/releases/download/v25.0/protoc-25.0-linux-x86_64.zip && \
|
wget https://github.com/protocolbuffers/protobuf/releases/download/v25.0/protoc-25.0-linux-x86_64.zip && \
|
||||||
unzip protoc-25.0-linux-x86_64.zip && \
|
unzip protoc-25.0-linux-x86_64.zip && \
|
||||||
mv bin/protoc /usr/local/bin/ && \
|
mv bin/protoc /usr/local/bin/ && \
|
||||||
rm -rf protoc-25.0-linux-x86_64.zip bin include readme.txt
|
rm -rf protoc-25.0-linux-x86_64.zip bin include readme.txt
|
||||||
|
|
||||||
RUN wget https://files.ivanch.me/api/public/dl/iFuXSNhw/small-image.png && \
|
RUN wget https://files.ivanch.me/api/public/dl/a8pf5HZL/small-image.png && \
|
||||||
wget https://files.ivanch.me/api/public/dl/81Bkht5C/big-image.png && \
|
wget https://files.ivanch.me/api/public/dl/ZoZDck7M/big-image.png && \
|
||||||
wget https://files.ivanch.me/api/public/dl/nAndfAjK/video.mp4 && \
|
wget https://files.ivanch.me/api/public/dl/URuFVrtX/video.mp4 && \
|
||||||
wget https://files.ivanch.me/api/public/dl/RzXwJG7o/nginx.html && \
|
wget https://files.ivanch.me/api/public/dl/aeZqpr_F/nginx.html && \
|
||||||
rm -rf runtimes && \
|
rm -rf runtimes && \
|
||||||
mkdir -p ./static && \
|
mkdir -p ./static && \
|
||||||
mv small-image.png ./static && \
|
mv small-image.png ./static && \
|
||||||
|
|
Loading…
Reference in New Issue