Created
November 18, 2016 13:39
-
-
Save happysysadm/d998a0d1904d52b508a71982e81c2a14 to your computer and use it in GitHub Desktop.
Dockerfile for Image2Docker
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
# escape=` | |
# Indicates that the windowsservercore image will be used as the base image. | |
FROM microsoft/nanoserver | |
# Metadata indicating an image maintainer. | |
MAINTAINER carlo@happysysadm.com | |
# Sets a command or process that will run each time a container is run from the new image. | |
RUN powershell.exe Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | |
RUN powershell.exe Install-Module Image2Docker -SkipPublisherCheck -Force -Confirm:$False | |
ENTRYPOINT Powershell.exe ConvertTo-Dockerfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment