[
https://issues.apache.org/jira/browse/KNOX-3304?focusedWorklogId=1016796&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1016796
]
ASF GitHub Bot logged work on KNOX-3304:
----------------------------------------
Author: ASF GitHub Bot
Created on: 22/Apr/26 01:02
Start Date: 22/Apr/26 01:02
Worklog Time Spent: 10m
Work Description: sneethiraj commented on PR #1209:
URL: https://github.com/apache/knox/pull/1209#issuecomment-4292845530
During the docker build, I see the following error:
[```
INFO] DOCKER> #15 [10/12] RUN mkdir /home/knox/cacrts && curl -sSLo
/home/knox/cacrts/AmazonRootCA1.cer
https://www.amazontrust.com/repository/AmazonRootCA1.cer || true && curl
-sSLo /home/knox/cacrts/AmazonRootCA2.cer
https://www.amazontrust.com/repository/AmazonRootCA2.cer || true && curl
-sSLo /home/knox/cacrts/AmazonRootCA3.cer
https://www.amazontrust.com/repository/AmazonRootCA3.cer || true && curl
-sSLo /home/knox/cacrts/AmazonRootCA4.cer
https://www.amazontrust.com/repository/AmazonRootCA4.cer || true && curl
-sSLo /home/knox/cacrts/isrgrootx1.pem
https://letsencrypt.org/certs/isrgrootx1.pem || true && curl
-sSLo /home/knox/cacrts/isrg-root-x2.pem
https://letsencrypt.org/certs/isrg-root-x2.pem || true && chown
-R 8000:0 /home/knox/cacrts
[INFO] DOCKER> #15 0.110 /bin/sh: line 1: curl: command not found
[INFO] DOCKER> #15 0.111 /bin/sh: line 1: curl: command not found
[INFO] DOCKER> #15 0.112 /bin/sh: line 1: curl: command not found
[INFO] DOCKER> #15 0.113 /bin/sh: line 1: curl: command not found
[INFO] DOCKER> #15 0.114 /bin/sh: line 1: curl: command not found
[INFO] DOCKER> #15 0.115 /bin/sh: line 1: curl: command not found
```
The curl is not there in the docker image
[dhi.io/eclipse-temurin:17-jdk-debian13-dev](http://dhi.io/eclipse-temurin:17-jdk-debian13-dev)
Can you modify the Dockerfile to install curl and retry the build before I
review again?
Issue Time Tracking
-------------------
Worklog Id: (was: 1016796)
Time Spent: 40m (was: 0.5h)
> Support for Openshift/SCC
> -------------------------
>
> Key: KNOX-3304
> URL: https://issues.apache.org/jira/browse/KNOX-3304
> Project: Apache Knox
> Issue Type: Task
> Components: docker
> Affects Versions: 2.1.0
> Reporter: Sandeep More
> Assignee: Sandeep More
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The current docker image that is generated does not work with Openshift and
> ECS platform due to restrictions imposed by the platforms. Specifically,
> there are two requirements
> # The helm chart that installs Knox image should use an arbitrary runAsUser
> # The helm chart should not have any runAsGroup and fsUserĀ
--
This message was sent by Atlassian Jira
(v8.20.10#820010)