We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7a923e commit 97ef9d5Copy full SHA for 97ef9d5
tests/test-ubuntu-24.04-docker.sh
@@ -0,0 +1,6 @@
1
+#!/usr/bin/env bash
2
+
3
+set -euo pipefail
4
5
+podman build -t aleph-sdk-ubuntu:24.04 -f tests/ubuntu-24.04.dockerfile .
6
+podman run -ti --rm -v $(pwd):/mnt aleph-sdk-ubuntu:24.04 bash
tests/ubuntu-24.04.dockerfile
@@ -0,0 +1,18 @@
+FROM ubuntu:24.04
+RUN apt-get update && apt-get install -y \
+ python3 \
+ python3-pip \
+ python3-venv \
7
+ libsecp256k1-dev \
8
+ && rm -rf /var/lib/apt/lists/*
9
10
+# Create a working virtual environment \
11
+RUN python3 -m venv /opt/venv
12
+RUN /opt/venv/bin/python -m pip install --upgrade pip hatch
13
14
+WORKDIR /mnt
15
+VOLUME /mnt
16
17
+# Make it easy to run the tests with the upper arrow
18
+RUN echo "/opt/venv/bin/hatch run testing:test" >> /root/.bash_history
0 commit comments