File tree 3 files changed +10
-5
lines changed
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ RUN apt-get update -y && \
23
23
rm -rf /var/lib/apt/lists/*
24
24
RUN pip3 install toml
25
25
26
- ADD --keep-git-dir=true https://github.com/anoma/namada.git#$GIT_SHA .
26
+ ADD --keep-git-dir=true https://github.com/anoma/namada.git#$GIT_SHA /namada
27
+ RUN cd /namada
27
28
28
29
# Important!
29
30
WORKDIR /namada
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ FROM docker.io/rust:1.81-slim-bullseye as builder
7
7
ARG GIT_SHA
8
8
ARG PROFILE="release"
9
9
10
- WORKDIR /namada
11
-
12
10
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
13
11
make \
14
12
git-core \
@@ -23,7 +21,10 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-instal
23
21
ca-certificates \
24
22
&& apt-get clean && rm -rf /var/lib/apt/lists/*
25
23
26
- ADD --keep-git-dir=true https://github.com/anoma/namada.git#$GIT_SHA .
24
+ ADD --keep-git-dir=true https://github.com/anoma/namada.git#$GIT_SHA /namada
25
+ RUN cd /namada
26
+
27
+ WORKDIR /namada
27
28
28
29
# Be aware the patch could potentially be version dependent
29
30
# getting rid of the sudo
Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-instal
22
22
wget \
23
23
&& apt-get clean && rm -rf /var/lib/apt/lists/*
24
24
25
- ADD --keep-git-dir=true https://github.com/anoma/namada.git#$GIT_SHA .
25
+ ADD --keep-git-dir=true https://github.com/anoma/namada.git#$GIT_SHA /namada
26
+ RUN cd /namada
27
+
28
+ WORKDIR /namada
26
29
27
30
# Be aware the patch could potentially be version dependent
28
31
# getting rid of the sudo
You can’t perform that action at this time.
0 commit comments