Skip to content

Instantly share code, notes, and snippets.

@kiranparajuli589
Last active May 9, 2024 06:17
Show Gist options
  • Save kiranparajuli589/dce139b79ad471e164807b6aa27fbb68 to your computer and use it in GitHub Desktop.
Save kiranparajuli589/dce139b79ad471e164807b6aa27fbb68 to your computer and use it in GitHub Desktop.
FROM ubuntu:22.04
# Update package lists and install necessary dependencies
RUN apt-get update -y && \
apt-get install -y gnupg ca-certificates make build-essential wget curl && \
rm -rf /var/lib/apt/lists/*
# Install NodeJS 18 and Yarn
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs && \
npm install --global yarn && \
rm -rf /var/lib/apt/lists/*
# Install Python3
RUN apt-get update -y && \
apt-get install -y python3 python3-pip && \
rm -rf /var/lib/apt/lists/*
# Install libindy
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CE7709D068DB5E88
RUN echo "deb https://repo.sovrin.org/sdk/deb bionic stable" >> /etc/apt/sources.list
RUN wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
RUN dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb
RUN apt-get update -y && apt-get install -y libindy
RUN rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN yarn init -y
RUN yarn add @aries-framework/node@^0.3
ENTRYPOINT ["tail", "-f", "/dev/null"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment