Skip to content

Instantly share code, notes, and snippets.

View brianrob's full-sized avatar

Brian Robbins brianrob

View GitHub Profile
# Build the test.
FROM microsoft/dotnet:2.2-sdk AS build
WORKDIR /app
COPY PlatformBenchmarks .
RUN dotnet publish -c Release -o out
FROM debian:stretch-20181226 AS runtime
# Install tools and dependencies.
RUN apt-get update && \
root@356b63e67d1a:/app# mono --server --gc=sgen --gc-params=mode=throughput PlatformBenchmarks.exe
Kestrel Platform-Level Application
/plaintext
/json
/fortunes
/db
Database: None
Hosting environment: Production
Content root path: /app/
Now listening on: http://[::]:8080
FROM debian:stretch-20181226
# Install tools and dependencies.
RUN apt-get update && \
apt-get install -y \
apt-transport-https \
dirmngr \
gnupg \
ca-certificates \
make \
# Build the test.
FROM microsoft/dotnet:2.2-sdk AS build
WORKDIR /app
COPY PlatformBenchmarks .
RUN dotnet publish -c Release -o out
FROM debian:stretch-20181226 AS runtime
# Install tools and dependencies.
RUN apt-get update && \
FROM debian:stretch-20181226
# Install tools and dependencies.
RUN apt-get update && \
apt-get install -y \
apt-transport-https \
dirmngr \
gnupg \
ca-certificates \
make \