diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..88b0cbf --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +# Created by .ignore support plugin (hsz.mobi) +.idea/ +*.iml +*.log +target/ +.settings +.project +.classpath +/src/main/resources/images/Thumbs.db \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7be9f4a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +#To Build: docker build --no-cache=true -t helloworldarm . + +#To Run: docker run --restart=always -d -t --env "WEBPAGESTRING=helloworld" -p 80:8080 --name helloworldarm -h helloworldarm helloworldarm + +FROM resin/rpi-raspbian + +MAINTAINER rnaylor@hivetechnologies.net + +# Install prerequisites +RUN apt-get install libunwind8 + +# Grab the latest tar.gz +RUN wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-linux-arm32.tar.gz + +# Make folder to put powershell +RUN mkdir ~/powershell + +# Unpack the tar.gz file +RUNtar -xvf ./powershell-6.0.0-rc.2-linux-arm32.tar.gz -C ~/powershell + +CMD ["~/powershell/pwsh"] \ No newline at end of file