File tree Expand file tree Collapse file tree 5 files changed +13
-49
lines changed Expand file tree Collapse file tree 5 files changed +13
-49
lines changed Original file line number Diff line number Diff line change 11FROM public.ecr.aws/amazonlinux/amazonlinux:2023
22
3- # Install required build dependencies
4- RUN dnf install -y gcc openssl-devel python3-pip util-linux && \
3+ # Install required build dependencies and Node.js for testing
4+ RUN dnf install -y gcc openssl-devel python3-pip util-linux nodejs && \
55 pip3 install setuptools && \
66 dnf clean all
77
Original file line number Diff line number Diff line change 11FROM public.ecr.aws/amazonlinux/amazonlinux:2023
22
3- # Install required build dependencies
4- RUN dnf install -y gcc openssl-devel python3-pip util-linux && \
3+ # Install required build dependencies and Node.js for testing
4+ RUN dnf install -y gcc openssl-devel python3-pip util-linux nodejs && \
55 pip3 install setuptools && \
66 dnf clean all
77
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- FROM ubuntu:20 .04
1+ FROM ubuntu:22 .04
22
33ENV SHELL=/bin/sh
44
5- RUN apt update \
6- && apt-get install -y curl util-linux \
7- && apt-get install -y python2.7 python2.7-dev \
5+ RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository ppa:deadsnakes/ppa && apt-get update
6+ RUN apt-get install -y --no-install-recommends \
7+ ca-certificates \
8+ curl \
9+ python2.7 \
10+ python2.7-dev \
811 && update-alternatives --install /usr/bin/python python /usr/bin/python2.7 2
912
1013RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py \
@@ -13,11 +16,7 @@ RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py \
1316 && apt-get clean \
1417 && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
1518
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
19-
20- WORKDIR /var/task
19+ COPY ./package/opt /opt
2120
2221ENV CRYPTEIA_BUILD_OS=debian
2322ENV SKIP_CARGO_TEST=1
Original file line number Diff line number Diff line change 11#! /bin/sh
22set -e
33
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
4+ ./bin/setup
145
156echo " == [py27/Dockerfile-test] building... =="
167docker build --tag crypteia-debian-py27-test --file py27/Dockerfile-test .
You can’t perform that action at this time.
0 commit comments