Skip to content

Commit

Permalink
Add mkdir /workspace to each stage
Browse files Browse the repository at this point in the history
  • Loading branch information
patrislav committed Feb 15, 2024
1 parent b62a945 commit 9c44659
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
###############################################################################
FROM rust AS eif_build

RUN mkdir /workspace
ADD https://github.com/aws/aws-nitro-enclaves-image-format.git#main /workspace

WORKDIR /workspace
Expand All @@ -14,6 +15,7 @@ FROM alpine AS chrony

RUN apk add linux-headers build-base bison asciidoctor

RUN mkdir /workspace
ADD https://gitlab.com/chrony/chrony.git#4.5 /workspace

WORKDIR /workspace
Expand All @@ -27,6 +29,7 @@ RUN make && make install
###############################################################################
FROM golang:1.21-alpine3.19 AS pid1

RUN mkdir /workspace
WORKDIR /workspace

ADD pid1/go.mod pid1/go.sum ./
Expand Down

0 comments on commit 9c44659

Please sign in to comment.