testing circleci

This commit is contained in:
TomPallister
2020-01-13 22:20:07 +00:00
parent fab09ab4dc
commit 925422f7ad
7 changed files with 76 additions and 44 deletions

7
docker/Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-bionic AS build
RUN apt install gnupg ca-certificates
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
RUN echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | tee /etc/apt/sources.list.d/mono-official-stable.list
RUN apt update
RUN apt-get -y install mono-devel

3
docker/README.md Normal file
View File

@ -0,0 +1,3 @@
# docker build
This folder contains the dockerfile and script to create the ocelot build container.

5
docker/docker-build.sh Executable file
View File

@ -0,0 +1,5 @@
docker build -t mijitt0m/ocelot-build .
echo $DOCKER_PASS | docker login -u $DOCKER_USER --password-stdin
docker tag mijitt0m/ocelot-build mijitt0m/ocelot-build:0.0.1
docker push mijitt0m/ocelot-build:latest
docker push mijitt0m/ocelot-build:0.0.1