File tree 3 files changed +12
-1
lines changed
3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: 2
2
2
jobs :
3
3
build :
4
4
docker :
5
- - image : hikalium/liumos-builder:v20210129_021600
5
+ - image : hikalium/liumos-builder:v20210627_180133
6
6
steps :
7
7
- checkout
8
8
- run :
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ RUN apt-get update \
34
34
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
35
35
sh -s -- -y --default-toolchain=nightly-x86_64-unknown-linux-gnu
36
36
ENV PATH $PATH:/root/.cargo/bin
37
+ ARG RUST_VERSION_DATE=2021-06-27
38
+ RUN rustup toolchain install nightly-${RUST_VERSION_DATE} && rustup default nightly-${RUST_VERSION_DATE}
37
39
RUN rustup component add rust-src
38
40
39
41
RUN pip3 install pexpect
Original file line number Diff line number Diff line change 1
1
CIRCLECI_DOCKER_VERSION := $(shell cat ../.circleci/config.yml | grep image | grep liumos-builder | cut -d ':' -f 2- | tr -d ' ')
2
2
3
+ IMAGE_TAG: =hikalium/liumos-builder:v$(shell date +% Y% m% d_% H% M% S)
4
+
5
+ build :
6
+ docker build -t ${IMAGE_TAG} .
7
+ @ echo
8
+ @ echo ${IMAGE_TAG}
9
+ @ echo Run \" docker push ${IMAGE_TAG} \" to upload this image.
10
+ @ echo Also, please make sure to update .circleci/config.yml.
11
+
3
12
run_ci_version :
4
13
docker run -it $(CIRCLECI_DOCKER_VERSION )
You can’t perform that action at this time.
0 commit comments