Commit c5a33edf authored by nanahira's avatar nanahira

fix docker

parent 2bc838fb
Pipeline #40792 canceled with stages
in 11 seconds
...@@ -14,7 +14,7 @@ build: ...@@ -14,7 +14,7 @@ build:
- linux - linux
image: mono image: mono
script: script:
- sed -i '/download.mono-project.com/d' /etc/apt/sources.list /etc/apt/sources.list.d/* - sed -i '/download.mono-project.com/d' -e 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list /etc/apt/sources.list.d/*
- apt update && apt -y install p7zip-full tar - apt update && apt -y install p7zip-full tar
- msbuild /p:Configuration=Release /p:TargetFrameworkVersion=v4.6 - msbuild /p:Configuration=Release /p:TargetFrameworkVersion=v4.6
- mv -f bin/Release WindBot - mv -f bin/Release WindBot
......
FROM mono as builder FROM mono as builder
RUN sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list
RUN apt update && env DEBIAN_FRONTEND=noninteractive apt install -y wget git RUN apt update && env DEBIAN_FRONTEND=noninteractive apt install -y wget git
COPY . /windbot-source COPY . /windbot-source
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment