You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Ciprian Ciubotariu (Jira)" <ji...@apache.org> on 2023/01/01 21:33:00 UTC
[jira] [Created] (KARAF-7629) Docker image apache/karaf:4.3.8 improperly built
Ciprian Ciubotariu created KARAF-7629:
-----------------------------------------
Summary: Docker image apache/karaf:4.3.8 improperly built
Key: KARAF-7629
URL: https://issues.apache.org/jira/browse/KARAF-7629
Project: Karaf
Issue Type: Bug
Components: karaf
Affects Versions: 4.3.8
Reporter: Ciprian Ciubotariu
The current image for apache/karaf:4.3.8 on dockerhub contains the tar.gz file instead of the exploded archive, as it was in apache/karaf:4.3.7.
I have built karaf-4.3.8 locally, and obtained a proper image using the provided docker build.sh. I've pushed it as cheepeero/karaf:4.3.8 for reference. As such, I believe the fix should be trivial for someone that has proper rights to fix the official image on dockerhub.
Here's a sample conversation to exemplify the difference:
{noformat}
$ docker run -it --rm apache/karaf:4.3.7 ls -l /opt
total 8
lrwxrwxrwx 1 root root 23 Apr 26 2022 apache-karaf -> /opt/apache-karaf-4.3.7
drwxr-xr-x 9 root root 4096 Apr 26 2022 apache-karaf-4.3.7
drwxr-xr-x 3 root root 4096 Oct 1 2021 java
$ docker run -it --rm apache/karaf:4.3.8 ls -l /opt
total 8
lrwxrwxrwx 1 root root 30 Oct 23 09:52 apache-karaf -> /opt/apache-karaf-4.3.8.tar.gz
-rw-r--r-- 1 root root 196 Oct 23 09:52 apache-karaf-4.3.8.tar.gz
drwxr-xr-x 3 root root 4096 Oct 1 2021 java
$ docker run -it --rm cheepeero/karaf:4.3.8 ls -l /opt
total 8
lrwxrwxrwx 1 root root 23 Dec 31 10:19 apache-karaf -> /opt/apache-karaf-4.3.8
drwxr-xr-x 9 root root 4096 Dec 31 10:19 apache-karaf-4.3.8
drwxr-xr-x 3 root root 4096 Oct 1 2021 java
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)