-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathDockerfile.acapy-main
36 lines (27 loc) · 1.2 KB
/
Dockerfile.acapy-main
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM python:3.12-slim-bullseye
RUN apt-get update \
&& apt-get install -y git gnupg2 software-properties-common curl \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CE7709D068DB5E88 \
&& add-apt-repository 'deb https://repo.sovrin.org/sdk/deb bionic stable' \
&& apt-get update \
&& apt-get install -y libindy libnullpay
RUN mkdir -p /aries-backchannels
WORKDIR /aries-backchannels
ADD https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 ./jq
RUN chmod +x ./jq
COPY python/requirements.txt python/
COPY acapy/requirements-main.txt acapy/
RUN pip install -r python/requirements.txt -r acapy/requirements-main.txt
RUN pip install git+https://github.com/openwallet-foundation/acapy-plugins@main#subdirectory=connections
# Copy the necessary files from the AATH Backchannel sub-folders
COPY python python
COPY acapy acapy
COPY data ./
# The Backchannel is looking for it in ./bin, copy a file that invokes the ACA-Py installed script in /usr/local/bin
RUN mkdir -p ./bin
COPY acapy/bin/aca-py ./bin/aca-py
RUN chmod +x ./bin/aca-py
ENV PYTHONPATH=/aries-backchannels
ENV RUNMODE=docker
RUN ./bin/aca-py --version > ./acapy-version.txt
ENTRYPOINT ["bash", "acapy/ngrok-wait.sh"]