Sha256: e8c63b0ee97c2416162eab68ffdee8428820851b8e8d73e547b798db594a16d9

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 KB

Contents

FROM microsoft/dotnet:latest

EXPOSE 5000

# Install supervisor and consul-template
RUN apt-get update
RUN yes | apt-get install wget tar unzip

# s6 overlay
ADD https://github.com/just-containers/s6-overlay/releases/download/v1.17.2.0/s6-overlay-amd64.tar.gz /tmp/s6-overlay.tar.gz
RUN tar xvfz /tmp/s6-overlay.tar.gz -C /; \
rm -rf /etc/s6

RUN wget https://releases.hashicorp.com/consul-template/0.14.0/consul-template_0.14.0_linux_386.zip; \
unzip consul-template_0.14.0_linux_386.zip; \
mv consul-template /bin/consul-template

# Create directory for server files
RUN mkdir /<%= application_name %>

COPY s6-etc /etc/s6
RUN chmod -R 755 /etc/s6; \
chmod -R 755 /etc/s6

# Add consul template
COPY appsettings.ctmpl /<%= application_name %>/appsettings.ctmpl

# Add server files
ADD swagger_spec /swagger
ADD bin /<%= application_name %>/bin
ADD .nuget /<%= application_name %>/.nuget
ADD web.config /<%= application_name %>/web.config
ADD project.json /<%= application_name %>/project.json

WORKDIR /<%= application_name %>

ENTRYPOINT ["/bin/s6-svscan","/etc/s6"]
CMD []

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
minke-generator-netmvc-0.10.0 lib/generators/netmvc/scaffold/_build/dockerfile/<%= application_name %>/Dockerfile.erb
minke-generator-netmvc-0.9.0 lib/generators/netmvc/scaffold/_build/dockerfile/<%= application_name %>/Dockerfile.erb
minke-generator-netmvc-0.8.0 lib/generators/netmvc/scaffold/_build/dockerfile/<%= application_name %>/Dockerfile.erb