File tree Expand file tree Collapse file tree 3 files changed +38
-2
lines changed Expand file tree Collapse file tree 3 files changed +38
-2
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:20.04
2+
3+ ENV DEBIAN_FRONTEND=noninteractive
4+
5+ RUN apt update && apt-get install -y \
6+ curl \
7+ gcc \
8+ libssl-dev \
9+ python3-pip \
10+ pkg-config \
11+ && rm -rf /var/lib/apt/lists/*
12+
13+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
14+ ENV PATH="/root/.cargo/bin:${PATH}"
15+
16+ RUN /root/.cargo/bin/rustup update \
17+ && /root/.cargo/bin/rustup target add aarch64-unknown-linux-gnu
18+
19+ RUN rustup default stable
20+
21+ WORKDIR /var/task
22+
23+ ENV CRYPTEIA_BUILD_OS=debian
24+ ENV CRYPTEIA_BUILD_TARGET=x86_64-unknown-linux-gnu
25+
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py \
1313 && apt-get clean \
1414 && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
1515
16- COPY ./package/opt /opt
16+ COPY build/crypteia-debian /opt/extensions/crypteia
17+ COPY build/libcrypteia-debian.so /opt/lib/libcrypteia.so
18+ COPY package/opt/crypteia /opt/crypteia
1719
1820ENV CRYPTEIA_BUILD_OS=debian
1921ENV SKIP_CARGO_TEST=1
Original file line number Diff line number Diff line change 11#! /bin/sh
22set -e
33
4- ./bin/setup
4+ echo " == [py27/Dockerfile] building... =="
5+ docker build --tag crypteia-debian-py27 --file py27/Dockerfile .
6+
7+ echo " == [py27/Dockerfile] bin/setup =="
8+ docker run \
9+ --rm \
10+ --user root \
11+ --entrypoint " ./bin/setup" \
12+ --volume " ${PWD} :/var/task" \
13+ crypteia-debian-py27
514
615echo " == [py27/Dockerfile-test] building... =="
716docker build --tag crypteia-debian-py27-test --file py27/Dockerfile-test .
You can’t perform that action at this time.
0 commit comments