peter279k commented on PR #10463:
URL: https://github.com/apache/nifi/pull/10463#issuecomment-3454519462

   Thanks for your reply. Here are my completed commands I run to build the 
NiFi Docker image:
   
   ```bash
   $ git clone https://github.com/apache/nifi
   $ cd nifi
   $ docker version
   Client: Docker Engine - Community
    Version:           28.5.1
    API version:       1.51
    Go version:        go1.24.8
    Git commit:        e180ab8
    Built:             Wed Oct  8 12:17:26 2025
    OS/Arch:           linux/amd64
    Context:           default
   
   Server: Docker Engine - Community
    Engine:
     Version:          28.5.1
     API version:      1.51 (minimum version 1.24)
     Go version:       go1.24.8
     Git commit:       f8215cc
     Built:            Wed Oct  8 12:17:26 2025
     OS/Arch:          linux/amd64
     Experimental:     false
    containerd:
     Version:          v1.7.28
     GitCommit:        b98a3aace656320842a23f4a392a33f46af97866
    runc:
     Version:          1.3.0
     GitCommit:        v1.3.0-0-g4ca628d1
    docker-init:
     Version:          0.19.0
     GitCommit:        de40ad0
   
   $ cd nifi-docker/dockerhub/
   $ docker build -t apache/nifi:latest .
   [+] Building 164.8s (12/15)                                                  
                    docker:default
    => [internal] load build definition from Dockerfile                         
                              0.0s
    => => transferring dockerfile: 5.09kB                                       
                              0.0s
    => resolve image config for docker-image://docker.io/docker/dockerfile:1    
                              1.5s
    => CACHED 
docker-image://docker.io/docker/dockerfile:1@sha256:b6afd42430b15f2d2a4c5a02b919e98a525b785b1a
  0.0s
    => [internal] load metadata for 
docker.io/bellsoft/liberica-openjdk-debian:21                             1.1s
    => [internal] load .dockerignore                                            
                              0.0s
    => => transferring context: 1.04kB                                          
                              0.0s
    => [internal] load build context                                            
                              0.0s
    => => transferring context: 21.29kB                                         
                              0.0s
    => CACHED [1/9] FROM 
docker.io/bellsoft/liberica-openjdk-debian:21@sha256:6bfd5cd01a5a6933954afb7c7891aa
  0.0s
    => [2/9] ADD sh/ /opt/nifi/scripts/                                         
                              0.1s
    => [3/9] RUN chmod -R +x /opt/nifi/scripts/*.sh    && apt-get update    && 
apt-get install -y unzip       3.3s
    => [4/9] RUN groupadd -g 1000 nifi || groupmod -n nifi `getent group 1000 | 
cut -d: -f1`     && useradd  22.3s
    => [5/9] RUN curl -LsSf https://astral.sh/uv/install.sh | sh                
                              9.5s
    => [6/9] RUN curl -fSL 
https://archive.apache.org/dist/nifi/2.0.0/nifi-toolkit-2.0.0-bin.zip -o 
/opt/ni  15.2s
    => [7/9] RUN curl -fSL 
https://archive.apache.org/dist/nifi/2.0.0/nifi-2.0.0-bin.zip -o /opt/nifi/nifi 
 111.4s
    => => #   % Total    % Received % Xferd  Average Speed   Time    Time     
Time  Current
    => => #                                  Dload  Upload   Total   Spent    
Left  Speed
    => => #  42  683M   42  291M    0     0  2685k      0  0:04:20  0:01:50  
0:02:30 3066k
   ......
    => => naming to docker.io/apache/nifi:latest                                
                              0.0s
   
    4 warnings found (use docker --debug to expand):
    - UndefinedVar: Usage of undefined variable '$MIRROR_BASE_URL' (line 31)
    - UndefinedVar: Usage of undefined variable '$DISTRO_PATH' (line 32)
    - UndefinedVar: Usage of undefined variable '$NIFI_BINARY_PATH' (line 33)
    - UndefinedVar: Usage of undefined variable '$NIFI_TOOLKIT_BINARY_PATH' 
(line 34)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to