File tree Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Expand file tree Collapse file tree 3 files changed +24
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Docker Image
2
+
3
+ on :
4
+ pull_request :
5
+
6
+ jobs :
7
+ build :
8
+ runs-on : SubtensorCI
9
+
10
+ steps :
11
+ - name : Checkout code
12
+ uses : actions/checkout@v4
13
+
14
+ - name : Set up QEMU
15
+ uses : docker/setup-qemu-action@v2
16
+
17
+ - name : Set up Docker Buildx
18
+ uses : docker/setup-buildx-action@v2
19
+
20
+ - name : Build Docker Image
21
+ run : docker build .
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Publish Docker Image
3
3
on :
4
4
release :
5
5
types : [published]
6
+ workflow_dispatch :
6
7
7
8
permissions :
8
9
contents : read
Original file line number Diff line number Diff line change 1
- ARG BASE_IMAGE=ubuntu:20 .04
1
+ ARG BASE_IMAGE=ubuntu:24 .04
2
2
3
3
FROM $BASE_IMAGE AS builder
4
4
SHELL ["/bin/bash" , "-c" ]
15
15
# Set up Rust environment
16
16
ENV RUST_BACKTRACE=1
17
17
RUN apt-get update && \
18
- apt-get install -y curl build-essential protobuf-compiler clang git && \
18
+ apt-get install -y curl build-essential protobuf-compiler clang git pkg-config libssl-dev && \
19
19
rm -rf /var/lib/apt/lists/*
20
20
21
21
RUN set -o pipefail && curl https://sh.rustup.rs -sSf | sh -s -- -y
You can’t perform that action at this time.
0 commit comments