Skip to content

Instantly share code, notes, and snippets.

@gabrielrojasnyc
Created April 5, 2018 18:23
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 gabrielrojasnyc/4100309a278083a5992edef05d61852b to your computer and use it in GitHub Desktop.
Save gabrielrojasnyc/4100309a278083a5992edef05d61852b to your computer and use it in GitHub Desktop.
# Microsoft Powershell Ubuntu image
FROM microsoft/powershell
LABEL version=0.1
WORKDIR /tmp
#Update and install Java
RUN apt-get update -y
RUN apt-get install default-jre -y
RUN apt-get upgrade powershell -y
#Files to be copy for demo but this should be downloaded from GIT repo
COPY test.ps1 /tmp/test.ps1
#Expose Port
EXPOSE 22 8500 50000
CMD /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment