Skip to content

Instantly share code, notes, and snippets.

@fredrkl
Created November 6, 2018 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fredrkl/b9e641e86c0c498e2812b0b1f4197f35 to your computer and use it in GitHub Desktop.
Save fredrkl/b9e641e86c0c498e2812b0b1f4197f35 to your computer and use it in GitHub Desktop.
FROM debian:stretch-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
\
# .NET Core dependencies
libc6 \
libgcc1 \
libgssapi-krb5-2 \
libicu57 \
liblttng-ust0 \
libssl1.0.2 \
libstdc++6 \
zlib1g \
&& rm -rf /var/lib/apt/lists/*
# Configure Kestrel web server to bind to port 80 when present
ENV ASPNETCORE_URLS=http://+:80 \
# Enable detection of running in a container
DOTNET_RUNNING_IN_CONTAINER=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment