Skip to content

Commit

Permalink
Merge pull request #107 from buildpack/dev-stack-default-dirs
Browse files Browse the repository at this point in the history
dev stack images have new default dirs with correct ownership
  • Loading branch information
ekcasey authored Apr 1, 2019
2 parents 645dc4f + fd07d8b commit 271f1f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,3 @@ COPY --from=builder /go/bin /lifecycle

RUN wget -qO /usr/local/bin/jq "${jq_url}" && chmod +x /usr/local/bin/jq && \
wget -qO /usr/local/bin/yj "${yj_url}" && chmod +x /usr/local/bin/yj

WORKDIR /workspace
RUN chown -R pack:pack /workspace
7 changes: 4 additions & 3 deletions images/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ FROM ${base}
COPY --from=helpers /go/bin /usr/local/bin
ARG stack_id="io.buildpacks.stacks.bionic"

RUN mkdir -p /workspace/app /workspace/config /cache /platform/env
RUN chown -R pack:pack /workspace /cache
RUN mkdir -p /workspace /layers /platform/env
RUN chown -R pack:pack /workspace /layers
WORKDIR /layers

USER pack
LABEL io.buildpacks.stack.id=${stack_id}
ENV PACK_STACK_ID=${stack_id}
ENV PACK_STACK_ID=${stack_id}

0 comments on commit 271f1f6

Please sign in to comment.