Initial add

This commit is contained in:
root
2019-07-23 13:37:58 -05:00
committed by bkraul
commit c4c78ccbcb
5 changed files with 40 additions and 0 deletions
Executable
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
cd ./BaGet
docker build $1\
-t bkraul/baget:latest \
.
cd ..
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
docker push bkraul/baget:latest
+13
View File
@@ -0,0 +1,13 @@
FROM microsoft/dotnet:2.2-aspnetcore-runtime
MAINTAINER Belman Kraul-Garcia <bkraul@belmankraul.com>
ENV ASPNETCORE_URLS="http://*:80"
EXPOSE 80
RUN apt-get update; apt-get install -y unzip; apt-get install wget -y \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN wget -O BaGet.zip https://github.com/loic-sharma/BaGet/releases/download/v0.1.77-prerelease/BaGet.zip \
&& unzip BaGet.zip -d /app && rm -rf BaGet.zip
WORKDIR /app
ENTRYPOINT ["dotnet", "BaGet.dll"]
Executable
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
VERSION="0.1.77-prerelease"
if [ ! -z "$1" ]
then
VERSION=$1
fi
echo $VERSION
docker build \
-t bkraul/baget:$VERSION \
.
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
docker push bkraul/baget:0.1.77-prerelease