File tree 3 files changed +16
-30
lines changed
3 files changed +16
-30
lines changed Original file line number Diff line number Diff line change @@ -2,23 +2,28 @@ FROM ubuntu:20.04
2
2
WORKDIR /substrate
3
3
4
4
# show backtraces
5
- ENV RUST_BACKTRACE 1
5
+ # ENV RUST_BACKTRACE 1
6
6
7
7
# Necessary libraries for Rust execution
8
- RUN apt-get update && \
9
- apt-get install -y curl build-essential protobuf-compiler clang git && \
10
- rm -rf /var/lib/apt/lists/*
8
+ # RUN apt-get update && \
9
+ # apt-get install -y curl build-essential protobuf-compiler clang git && \
10
+ # rm -rf /var/lib/apt/lists/*
11
11
12
12
# Install cargo and Rust
13
- RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
14
- ENV PATH="/root/.cargo/bin:${PATH}"
13
+ # RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
14
+ # ENV PATH="/root/.cargo/bin:${PATH}"
15
15
16
16
# Capture dependencies
17
- COPY . .
17
+ # COPY . .
18
18
19
19
# Cargo build
20
- RUN cargo build --release && cp -R ./target /target
21
- EXPOSE 9946
20
+ # RUN cargo build --release
21
+ # EXPOSE 9946
22
+ # RUN cp -R ./target/* /target
22
23
23
24
# Run the Substrate node binary
24
- CMD ["./scripts/localnet-baedeker.sh" ]
25
+ # CMD ["./scripts/localnet-baedeker.sh"]
26
+
27
+ RUN echo "hello from docker" > a.txt
28
+
29
+ CMD ["bash" ]
Original file line number Diff line number Diff line change @@ -167,23 +167,6 @@ jobs:
167
167
- name : Check-out repository under $GITHUB_WORKSPACE
168
168
uses : actions/checkout@v4
169
169
170
- - name : Install dependencies
171
- run : |
172
- sudo apt-get update &&
173
- sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
174
-
175
- - name : Install Rust ${{ matrix.rust-branch }}
176
- uses : actions-rs/toolchain@v1.0.6
177
- with :
178
- toolchain : ${{ matrix.rust-branch }}
179
- components : rustfmt, clippy
180
- profile : minimal
181
-
182
- - name : Utilize Rust shared cached
183
- uses : Swatinem/rust-cache@v2.2.1
184
- with :
185
- key : ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
186
-
187
170
# - name: Download finney clone genesis and secrets
188
171
# uses: actions/download-artifact@v3
189
172
# with:
Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ services:
3
3
ports :
4
4
- 9946:9946
5
5
volumes :
6
- - type : bind
7
- source : ./target
8
- target : /target
6
+ - ./target:/substrate
9
7
build :
10
8
context : .
11
9
dockerfile : ./.baedeker/Dockerfile
You can’t perform that action at this time.
0 commit comments