Skip to content

Commit

Permalink
Shallow git clone
Browse files Browse the repository at this point in the history
  • Loading branch information
rblaine95 committed Jun 10, 2022
1 parent cfa9c15 commit 3749832
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###################
# --- builder --- #
###################
FROM debian:10-slim AS builder
FROM docker.io/debian:10-slim AS builder

WORKDIR /opt

Expand All @@ -18,7 +18,7 @@ RUN apt-get update && \
update-alternatives --install /usr/bin/python python /usr/bin/python3 1

ARG MONERO_VERSION=0.17.3.2
RUN git clone --recursive https://github.com/monero-project/monero.git -b v${MONERO_VERSION}
RUN git clone --recursive https://github.com/monero-project/monero.git -b v${MONERO_VERSION} --depth 1

ARG BUILD_THREADS=1
RUN cd monero && \
Expand All @@ -33,7 +33,7 @@ RUN cd monero && \
##################
# --- runner --- #
##################
FROM debian:11-slim
FROM docker.io/debian:11-slim

ENV PATH=/opt/monero:${PATH}

Expand Down

0 comments on commit 3749832

Please sign in to comment.