Initial add
This commit is contained in:
commit
c4c78ccbcb
7
latest/build
Executable file
7
latest/build
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd ./BaGet
|
||||||
|
docker build $1\
|
||||||
|
-t bkraul/baget:latest \
|
||||||
|
.
|
||||||
|
cd ..
|
4
latest/push
Executable file
4
latest/push
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
docker push bkraul/baget:latest
|
||||||
|
|
13
release/Dockerfile
Normal file
13
release/Dockerfile
Normal 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"]
|
12
release/build
Executable file
12
release/build
Executable 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 \
|
||||||
|
.
|
4
release/push
Executable file
4
release/push
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
docker push bkraul/baget:0.1.77-prerelease
|
||||||
|
|
Loading…
Reference in New Issue
Block a user