Skip to content

Commit

Permalink
test: support ubuntu 24.04
Browse files Browse the repository at this point in the history
Tested on Fedora 40 host with:
TEST_CONTAINER=ubuntu-2404
podman build -f "test/Containerfiles/Containerfile.$TEST_CONTAINER" \
  --tag "tpm2-openssl-build-$TEST_CONTAINER"
podman run -it --name tpm2-openssl-1 -v "$(pwd):/build:Z" --rm --userns=keep-id \
  "localhost/tpm2-openssl-build-$TEST_CONTAINER" /bin/bash

ubuntu@21852768f015:/$ /build/test/run-with-simulator

Signed-off-by: Adrian Freihofer <[email protected]>
  • Loading branch information
afreof committed Aug 9, 2024
1 parent b9b0ea2 commit 4129749
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/Containerfiles/Containerfile.ubuntu-2404
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM ubuntu:24.04

RUN apt-get update && apt-get -y install \
curl autoconf-archive git make build-essential libtool pkg-config \
libssl-dev libtss2-dev libtss2-tcti-tabrmd0 \
tpm2-abrmd tpm2-tools openssl dbus-daemon swtpm iproute2 systemd \
&& mkdir build

0 comments on commit 4129749

Please sign in to comment.