-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
44709af
commit cb881db
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM ubuntu:18.04 | ||
|
||
# MAINTAINER EvilBeaver <[email protected]> | ||
|
||
ENV LANG ru_RU.UTF-8 | ||
|
||
RUN apt update \ | ||
&& apt-get -y install locales tzdata \ | ||
&& locale-gen ru_RU && locale-gen ru_RU.UTF-8 \ | ||
&& update-locale LANG=ru_RU.UTF-8 \ | ||
&& apt install -y gnupg ca-certificates \ | ||
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \ | ||
&& sh -c 'echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" > /etc/apt/sources.list.d/mono-official-stable.list' \ | ||
&& apt-get update \ | ||
&& apt-get -y install mono-runtime binutils curl mono-devel ca-certificates-mono mono-vbnc referenceassemblies-pcl mono-fastcgi-server4 \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM evilbeaver/mono-ru:6.12 | ||
|
||
# Файл базируется на моно с русской локалью | ||
# Устанавливает через ovm версию движка | ||
|
||
LABEL MAINTAINER="EvilBeaver <[email protected]>" | ||
|
||
ARG VERSION=stable | ||
|
||
RUN curl -L https://github.com/oscript-library/ovm/releases/latest/download/ovm.exe > ovm.exe \ | ||
&& mono ovm.exe use --install $VERSION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM evilbeaver/onescript:1.9.2 | ||
|
||
# Использует в качестве системы с ovm и mono образ onescript, создаваемый из файла Dockerfile_v1 (лежит рядом в репо) | ||
# Потом копирует бинари из него в образ от Microsoft | ||
|
||
LABEL MAINTAINER="EvilBeaver <[email protected]>" | ||
|
||
ARG VERSION="dev" | ||
|
||
# Установка FDD двойки через ovm, имеющийся в базовом образе | ||
RUN mono ovm.exe install --fdd ${VERSION} | ||
|
||
# Основной образ | ||
FROM mcr.microsoft.com/dotnet/aspnet:6.0 | ||
|
||
ARG VERSION="dev" | ||
|
||
RUN mkdir -p /var/oscript | ||
COPY --from=0 /root/.local/share/ovm/${VERSION}/ /var/oscript/ | ||
ENV PATH="$PATH:/var/oscript/bin" |