Initial add

master
root 3 years ago committed by bkraul
commit c4c78ccbcb

@ -0,0 +1,7 @@
#!/bin/bash
cd ./BaGet
docker build $1\
-t bkraul/baget:latest \
.
cd ..

@ -0,0 +1,4 @@
#!/bin/sh
docker push bkraul/baget:latest

@ -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"]

@ -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 \
.

@ -0,0 +1,4 @@
#!/bin/sh
docker push bkraul/baget:0.1.77-prerelease
Loading…
Cancel
Save