build: Add TPM emulator

This commit is contained in:
Kroese 2024-01-14 20:10:00 +01:00 committed by GitHub
parent 7f61deb3fa
commit ccbe071ba2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,7 @@ RUN apt-get update \
&& apt-get --no-install-recommends -y install \ && apt-get --no-install-recommends -y install \
curl \ curl \
novnc \ novnc \
swtpm \
p7zip-full \ p7zip-full \
genisoimage \ genisoimage \
&& apt-get clean \ && apt-get clean \
@ -23,7 +24,7 @@ RUN chmod +x /run/*.sh
EXPOSE 8006 EXPOSE 8006
VOLUME /storage VOLUME /storage
ENV CPU_CORES "1" ENV CPU_CORES "2"
ENV RAM_SIZE "4G" ENV RAM_SIZE "4G"
ENV DISK_SIZE "64G" ENV DISK_SIZE "64G"