diff options
author | Nora <nora.widdecke@tu-bs.de> | 2019-01-02 22:46:17 +0100 |
---|---|---|
committer | Nora <nora.widdecke@tu-bs.de> | 2019-01-02 22:46:36 +0100 |
commit | 09b8af41f79f13e52ef439c5015c0009317f6cd7 (patch) | |
tree | 834e929b98305f30158ab1a2b9cdf9046dd1db4d /.circleci | |
parent | 727e354f73d6e70b324983fcef551ca40231acbd (diff) |
Dockerfile for circleci
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/images/rust-libical3/Dockerfile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/.circleci/images/rust-libical3/Dockerfile b/.circleci/images/rust-libical3/Dockerfile new file mode 100644 index 0000000..b154164 --- /dev/null +++ b/.circleci/images/rust-libical3/Dockerfile @@ -0,0 +1,44 @@ +FROM buildpack-deps:buster + +# Some of the dependencies I need to build a few libraries, +# personalize to your needs. You can use multi-stage builds +# to produce a lightweight image. +#RUN apt-get update && \ +# apt-get install -y curl file gcc g++ git make openssh-client \ +# autoconf automake cmake libtool libcurl4-openssl-dev libssl-dev \ +# libelf-dev libdw-dev binutils-dev zlib1g-dev libiberty-dev wget \ +# xz-utils pkg-config python + +RUN apt-get update && \ + apt-get install -y rustc libical-dev clang + +#ENV KCOV_VERSION 33 +#RUN wget https://github.com/SimonKagstrom/kcov/archive/v$KCOV_VERSION.tar.gz && \ +# tar xzf v$KCOV_VERSION.tar.gz && \ +# rm v$KCOV_VERSION.tar.gz && \ +# cd kcov-$KCOV_VERSION && \ +# mkdir build && cd build && \ +# cmake .. && make && make install && \ +# cd ../.. && rm -rf kcov-$KCOV_VERSION + +#RUN curl https://sh.rustup.rs -sSf | sh -s -- -y + +#ENV PATH "$PATH:/root/.cargo/bin" +#ENV RUSTFLAGS "-C link-dead-code" +#ENV CFG_RELEASE_CHANNEL "nightly" + +#RUN rustup update && \ +# rustup install nightly && \ +# rustup default nightly + +#ENV RUSTFMT_VERSION 0.3.1 +#RUN wget https://github.com/rust-lang-nursery/rustfmt/archive/${RUSTFMT_VERSION}.tar.gz && \ +# tar xzf ${RUSTFMT_VERSION}.tar.gz && rm ${RUSTFMT_VERSION}.tar.gz && \ +# cd rustfmt-${RUSTFMT_VERSION} && \ +# $HOME/.cargo/bin/cargo install --path . && \ +# cd .. && rm -rf rustfmt-${RUSTFMT_VERSION} + +#RUN bash -l -c 'echo $(rustc --print sysroot)/lib >> /etc/ld.so.conf' +#RUN bash -l -c 'echo /usr/local/lib >> /etc/ld.so.conf' +#RUN ldconfig +#EXEC bash |