Skip to content

ERROR WCSite image build with WebLogic Image Tool version 1.11.5  #133

@antoninoromeo

Description

@antoninoromeo

from build log:
Step 1/43 : FROM ghcr.io/oracle/oraclelinux:8-slim as os_update
8-slim: Pulling from oracle/oraclelinux
051f419db9dd: Pulling fs layer
051f419db9dd: Download complete
051f419db9dd: Pull complete
Digest: sha256:128890f01d9df4a209ff8ebcd3615d76d6219e904d82c95b419dde68c9b44bd0
Status: Downloaded newer image for ghcr.io/oracle/oraclelinux:8-slim

Step 35/43 : RUN yum install -y hostname && rm -rf /var/cache/yum
---> Running in f9b22ad987f5
/bin/sh: yum: command not found
Removing intermediate container f9b22ad987f5
[SEVERE ] Build command failed with error: The command '/bin/sh -c yum install -y hostname && rm -rf /var/cache/yum' returned a non-zero code: 127

Error is clear:
docker run -it ghcr.io/oracle/oraclelinux:8-slim bash
bash-4.4# yum
bash: yum: command not found
The used oracle 8 image does't own yum command while oracle linux 7 has!!!!
Can i modify generated docker file????

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions