From 263bbe937fa65f2fcc65af120906a508a796b160 Mon Sep 17 00:00:00 2001 From: Arron Wang Date: Sat, 27 Nov 2021 03:28:04 +0800 Subject: [PATCH] osbuilder: Add build dependency for openssl and protobuf The openssl-sys crate will automatically detect: https://docs.rs/openssl/0.10.16/openssl/#automatic Signed-off-by: Arron Wang --- tools/osbuilder/rootfs-builder/alpine/Dockerfile.in | 5 +++++ tools/osbuilder/rootfs-builder/clearlinux/Dockerfile.in | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/tools/osbuilder/rootfs-builder/alpine/Dockerfile.in b/tools/osbuilder/rootfs-builder/alpine/Dockerfile.in index 4da311aa06..b5d6546918 100644 --- a/tools/osbuilder/rootfs-builder/alpine/Dockerfile.in +++ b/tools/osbuilder/rootfs-builder/alpine/Dockerfile.in @@ -26,4 +26,9 @@ RUN apk update && apk add \ make \ musl \ musl-dev \ + openssl-dev \ + perl \ + perl-module-build \ + pkgconfig \ + protoc \ tar diff --git a/tools/osbuilder/rootfs-builder/clearlinux/Dockerfile.in b/tools/osbuilder/rootfs-builder/clearlinux/Dockerfile.in index abbc413474..f5a299c293 100644 --- a/tools/osbuilder/rootfs-builder/clearlinux/Dockerfile.in +++ b/tools/osbuilder/rootfs-builder/clearlinux/Dockerfile.in @@ -30,7 +30,11 @@ RUN dnf -y update && dnf install -y \ libstdc++-static \ m4 \ make \ + openssl-devel \ + perl \ + perl-IPC-Cmd \ pkgconfig \ + protobuf-compiler \ sed \ systemd \ tar \