Skip to content

Commit

Permalink
dockerfile use run mount
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Jun 14, 2024
1 parent c9b9020 commit dea46ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ RUN JEMALLOC_BDIR=$(mktemp -d) && \
rm -rf $JEMALLOC_BDIR

# install readsb
RUN mkdir -p /app/git
COPY . /app/git
RUN cd /app/git && \
RUN --mount=type=bind,source=.,target=/app/git \
cd /app/git && \
READSB_BUILD_DIR=$(mktemp -d) && \
cp -r /app/git/* $READSB_BUILD_DIR && \
cd $READSB_BUILD_DIR && \
Expand Down

0 comments on commit dea46ed

Please sign in to comment.