mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
add .vimrc for docker
This commit is contained in:
parent
1d05b82daf
commit
0e6d1cb941
1
docker/.vimrc
Normal file
1
docker/.vimrc
Normal file
@ -0,0 +1 @@
|
||||
: set nu
|
@ -32,13 +32,14 @@ RUN git clone --branch v1.6.1 https://gitee.com/mirrors/google-benchmark benchma
|
||||
|
||||
|
||||
# Get Rust
|
||||
# change source of Rust
|
||||
ADD rust_config /root/.cargo/config
|
||||
ENV RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static
|
||||
ENV RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup
|
||||
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
|
||||
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
|
||||
|
||||
RUN git config --global --add safe.directory /usr/src/pikascript
|
||||
RUN git config --global user.email "liang6516@outlook.com"
|
||||
RUN git config --global user.name "lyon"
|
||||
@ -61,9 +62,13 @@ RUN apt-get install -y golang
|
||||
RUN go env -w GO111MODULE=on
|
||||
RUN go env -w GOPROXY=https://goproxy.cn
|
||||
|
||||
|
||||
RUN git clone https://gitee.com/lyon1998/pikascript root/pikascript
|
||||
RUN cd /root/pikascript && git pull
|
||||
|
||||
ADD rust_config /root/.cargo/config
|
||||
RUN rustup target add i686-pc-windows-gnu
|
||||
RUN cd /root/pikascript/tools/pikaCompiler && sh build.sh
|
||||
|
||||
ADD .vimrc /root/.vimrc
|
||||
|
||||
|
||||
|
@ -3,3 +3,7 @@ registry = "https://github.com/rust-lang/crates.io-index"
|
||||
replace-with = 'ustc'
|
||||
[source.ustc]
|
||||
registry = "git://mirrors.ustc.edu.cn/crates.io-index"
|
||||
|
||||
[source.tuna]
|
||||
registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"
|
||||
|
||||
|
@ -1,6 +0,0 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void pika_binder(void);
|
Loading…
x
Reference in New Issue
Block a user