From 4d9439d38a84847dc7dd14b271e551cba73a879c Mon Sep 17 00:00:00 2001 From: Guillaume Delacour Date: Mon, 2 Dec 2024 14:28:28 +0100 Subject: [PATCH] fix: Enable full functionality curl for ui & orders --- src/orders/Dockerfile | 5 +++++ src/ui/Dockerfile | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/orders/Dockerfile b/src/orders/Dockerfile index 0935e50f5..9394daf81 100644 --- a/src/orders/Dockerfile +++ b/src/orders/Dockerfile @@ -38,6 +38,11 @@ RUN dnf --setopt=install_weak_deps=False install -q -y \ && \ dnf clean all +# use curl-full to use "telnet://" scheme +# https://docs.aws.amazon.com/linux/al2023/ug/curl-minimal.html +RUN dnf -q -y swap libcurl-minimal libcurl-full \ + && dnf -q -y swap curl-minimal curl-full + ARG aws_opentelemetry_agent_version=1.24.0 ENV APPUSER=appuser diff --git a/src/ui/Dockerfile b/src/ui/Dockerfile index 2874965e1..829cac626 100644 --- a/src/ui/Dockerfile +++ b/src/ui/Dockerfile @@ -36,6 +36,11 @@ RUN dnf --setopt=install_weak_deps=False install -q -y \ && \ dnf clean all +# use curl-full to use "telnet://" scheme +# https://docs.aws.amazon.com/linux/al2023/ug/curl-minimal.html +RUN dnf -q -y swap libcurl-minimal libcurl-full \ + && dnf -q -y swap curl-minimal curl-full + ARG aws_opentelemetry_agent_version=1.24.0 ENV APPUSER=appuser