Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ghtym0 committed Nov 19, 2020
1 parent 491bfa8 commit 242c480
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,5 @@ You can build the docker image by providing a signing key:

```bash
openssl genrsa -out private.pem -3 3072
docker buildx build --secret id=repoaccess,src=<path to .netrc> --secret id=signingkey,src=private.pem --target release --tag ghcr.io/edgelesssys/coordinator .
docker buildx build --secret id=signingkey,src=private.pem --target release --tag ghcr.io/edgelesssys/coordinator .
```
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:experimental

FROM alpine/git:latest AS pull
RUN --mount=type=secret,id=repoaccess,dst=/root/.netrc,required=true git clone https://github.com/edgelesssys/marblerun.git /coordinator
RUN git clone https://github.com/edgelesssys/marblerun.git /coordinator

FROM ghcr.io/edgelesssys/edgelessrt-dev AS build
COPY --from=pull /coordinator /coordinator
Expand Down

0 comments on commit 242c480

Please sign in to comment.