mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 15:58:16 +08:00
updated to remove develop
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
# this is the dockerfile that create the ocelot build container
|
||||
# build with the docker-build.sh file in this folder
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-bionic AS build
|
||||
|
||||
RUN apt install gnupg ca-certificates
|
@ -1,3 +1,6 @@
|
||||
# call from ocelot repo root with
|
||||
# docker build -f ./docker/Dockerfile.build .
|
||||
|
||||
FROM mijitt0m/ocelot-build:0.0.1
|
||||
|
||||
WORKDIR /src
|
||||
|
@ -1,4 +1,4 @@
|
||||
# call from root with
|
||||
# call from ocelot repo root with
|
||||
# docker build --build-arg OCELOT_NUTGET_API_KEY=$OCELOT_NUTGET_API_KEY --build-arg OCELOT_GITHUB_API_KEY=$OCELOT_GITHUB_API_KEY -f ./docker/Dockerfile.release .
|
||||
|
||||
FROM mijitt0m/ocelot-build:0.0.1
|
||||
|
@ -1,5 +1,5 @@
|
||||
# this script build the ocelot docker file
|
||||
docker build -t mijitt0m/ocelot-build .
|
||||
docker build -t mijitt0m/ocelot-build -f Dockerfile.base .
|
||||
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
|
||||
|
Reference in New Issue
Block a user