2022-04-25 02:47:59 +03:00
|
|
|
FROM mcr.microsoft.com/windows/servercore:ltsc2022
|
2021-03-31 21:00:34 +03:00
|
|
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
2023-06-08 00:53:17 +03:00
|
|
|
LABEL org.opencontainers.image.vendor="EpicMorg DevTeam, developer@epicm.org"
|
|
|
|
LABEL org.opencontainers.image.authors="STAM, kasthack, Aleks-Z"
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/EpicMorg/docker"
|
|
|
|
LABEL org.opencontainers.image.url="https://github.com/EpicMorg/docker"
|
|
|
|
LABEL donate.crypto.TON="EQDvHXRK-K1ZieJhgTD9JZQk7xCnWzRbctYnUkWq1lZq1bUg"
|
|
|
|
LABEL donate.crypto.ETH="0x26a8443a694f08cdfec966aa6fd72c45068753ec"
|
|
|
|
LABEL donate.crypto.BTC="bc1querz8ug9asjmsuy6yn4a94a2athgprnu7e5zq2"
|
|
|
|
LABEL donate.crypto.LTC="ltc1qtwwacq8f0n76fer2y83wxu540hddnmf8cdrlvg"
|
|
|
|
LABEL donate.crypto.NVC="4SbMynYETyhmKdggu8f38ULU6yQKiJPuo6"
|
|
|
|
LABEL donate.crypto.DOGE="DHyfE1CZzWtyaQiaMmv6g4KvXVQRUgrYE6"
|
|
|
|
LABEL donate.crypto.PPC="pQWArPzYoLppNe7ew3QPfto1k1eq66BYUB"
|
|
|
|
LABEL donate.crypto.RVN="R9t2LKeLhDSZBKNgUzSDZAossA3UqNvbV3"
|
|
|
|
LABEL donate.crypto.ZEC="t1KRMMmwMSZth8vJcd2ZHtPEFKTQ74yVixE"
|
|
|
|
LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4wQxoVfEJoW7LBhdQMP9cFhZQpJr6xvg7esHLdCbb1"
|
2021-03-31 21:00:34 +03:00
|
|
|
|
|
|
|
ENV chocolateyUseWindowsCompression false
|
2022-04-25 02:47:59 +03:00
|
|
|
# Opt out of the telemetry feature
|
|
|
|
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
|
|
|
|
# Disable first time experience
|
|
|
|
ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
|
|
|
|
# Configure Kestrel web server to bind to port 80 when present
|
|
|
|
ENV ASPNETCORE_URLS=\
|
|
|
|
# Enable detection of running in a container
|
|
|
|
ENV DOTNET_RUNNING_IN_CONTAINER=true
|
|
|
|
# Enable correct mode for dotnet watch (only mode supported in a container)
|
|
|
|
ENV DOTNET_USE_POLLING_FILE_WATCHER=true
|
|
|
|
# Skip extraction of XML docs - generally not useful within an image/container - helps perfomance
|
|
|
|
ENV NUGET_XMLDOC_MODE=skip
|
|
|
|
# PowerShell telemetry for docker image usage
|
|
|
|
ENV POWERSHELL_DISTRIBUTION_CHANNEL=docker-windows
|
2021-03-31 21:00:34 +03:00
|
|
|
|
2021-04-01 00:51:20 +03:00
|
|
|
####################################################################################################################################
|
|
|
|
# https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-docker/manage-windows-dockerfile
|
|
|
|
####################################################################################################################################
|
|
|
|
|
2021-04-01 18:26:19 +03:00
|
|
|
##################################################################
|
|
|
|
# Creating workdir for future
|
|
|
|
##################################################################
|
|
|
|
RUN mkdir C:\\EpicMorg
|
|
|
|
WORKDIR C:\\EpicMorg
|
|
|
|
|
2022-04-25 02:47:59 +03:00
|
|
|
##################################################################
|
|
|
|
# Installing IIS
|
|
|
|
##################################################################
|
|
|
|
RUN powershell -Command Add-WindowsFeature Web-Server; \
|
|
|
|
Invoke-WebRequest -UseBasicParsing -Uri "https://dotnetbinaries.blob.core.windows.net/servicemonitor/2.0.1.10/ServiceMonitor.exe" -OutFile "C:\ServiceMonitor.exe"
|
|
|
|
|
2021-03-31 21:00:34 +03:00
|
|
|
##################################################################
|
|
|
|
# Installing ocolatey.org
|
|
|
|
##################################################################
|
|
|
|
RUN powershell -Command \
|
|
|
|
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; \
|
|
|
|
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
|
|
|
|
|
|
|
##################################################################
|
2021-04-01 00:51:20 +03:00
|
|
|
# install vcredist packages
|
2021-03-31 21:00:34 +03:00
|
|
|
##################################################################
|
2021-04-01 15:29:06 +03:00
|
|
|
RUN cinst --no-progress -y -IgnoreChecksums --ignoredetectedreboot \
|
2021-03-31 21:00:34 +03:00
|
|
|
vcredist-all \
|
|
|
|
vcredist140 \
|
|
|
|
vcredist2005 \
|
|
|
|
vcredist2008 \
|
|
|
|
vcredist2010 \
|
|
|
|
vcredist2012 \
|
|
|
|
vcredist2013 \
|
|
|
|
vcredist2013 \
|
2021-04-01 00:51:20 +03:00
|
|
|
vcredist2015
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# install dotnet packages
|
|
|
|
##################################################################
|
2021-04-01 15:29:06 +03:00
|
|
|
RUN cinst --no-progress -y -IgnoreChecksums --ignoredetectedreboot \
|
|
|
|
dotnet \
|
2022-04-25 02:47:59 +03:00
|
|
|
dotnet-aspnetruntime \
|
|
|
|
dotnet-windowshosting \
|
2021-04-01 00:51:20 +03:00
|
|
|
dotnet-runtime \
|
|
|
|
dotnet-sdk \
|
|
|
|
powershell-core
|
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# install base packages
|
|
|
|
##################################################################
|
2021-04-01 15:29:06 +03:00
|
|
|
RUN cinst --no-progress -y -IgnoreChecksums --ignoredetectedreboot \
|
2021-04-01 00:51:20 +03:00
|
|
|
curl \
|
|
|
|
far \
|
|
|
|
findutils \
|
|
|
|
git \
|
|
|
|
make \
|
|
|
|
mc \
|
|
|
|
nano \
|
|
|
|
openssl \
|
|
|
|
sed \
|
|
|
|
steamcmd \
|
|
|
|
sudo \
|
|
|
|
tartool \
|
2021-03-31 21:00:34 +03:00
|
|
|
unrar \
|
|
|
|
unzip \
|
|
|
|
wget
|
2021-04-01 00:51:20 +03:00
|
|
|
|
|
|
|
##################################################################
|
|
|
|
# install archive packages
|
|
|
|
##################################################################
|
2021-04-01 15:29:06 +03:00
|
|
|
RUN cinst --no-progress -y -IgnoreChecksums --ignoredetectedreboot \
|
2021-04-01 00:51:20 +03:00
|
|
|
7zip \
|
|
|
|
7zip-zstd \
|
|
|
|
7zip.commandline \
|
|
|
|
7zip.portable \
|
|
|
|
asar7z \
|
|
|
|
exfat7z \
|
|
|
|
grit7z \
|
|
|
|
iso7z \
|
|
|
|
modern7z \
|
|
|
|
thumbs7z \
|
|
|
|
wavpack7z \
|
|
|
|
winrar
|
2022-04-25 02:47:59 +03:00
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
|
|
|
|
ENTRYPOINT ["C:\\ServiceMonitor.exe", "w3svc"]
|