mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 15:58:16 +08:00
testing circleci
This commit is contained in:
7
docker/Dockerfile
Normal file
7
docker/Dockerfile
Normal 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
3
docker/README.md
Normal 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
5
docker/docker-build.sh
Executable 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
|
Reference in New Issue
Block a user