You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi i got some trouble with building weblogic image.
i am using weblogic 12.2.1.4 and i change the base image sources from container-registry.oracle.com/java/serverjre:8.
However i got below error:
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 6161b9fc-959f-4b6e-8abd-b177e8614d71::7b02t270n6a4yxwqr02e3a41a: "/container-scripts/get_healthcheck_url.sh": not found
Here is the Dockerfile:
#Copyright (c) 2014, 2020, Oracle and/or its affiliates.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi i got some trouble with building weblogic image.
i am using weblogic 12.2.1.4 and i change the base image sources from container-registry.oracle.com/java/serverjre:8.
However i got below error:
Dockerfile:103
101 | # Copy scripts
102 | #-------------
103 | >>> COPY container-scripts/createAndStartEmptyDomain.sh container-scripts/create-wls-domain.py container-scripts/get_healthcheck_url.sh /u01/oracle/
104 |
105 | RUN chmod +xr $SCRIPT_FILE $HEALTH_SCRIPT_FILE && \
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 6161b9fc-959f-4b6e-8abd-b177e8614d71::7b02t270n6a4yxwqr02e3a41a: "/container-scripts/get_healthcheck_url.sh": not found
Here is the Dockerfile:
#Copyright (c) 2014, 2020, Oracle and/or its affiliates.
#Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
ORACLE DOCKERFILES PROJECT
--------------------------
This is the Dockerfile for Oracle WebLogic Server 12.2.1.4 Slim Distro
REQUIRED FILES TO BUILD THIS IMAGE
----------------------------------
(1) fmw_12.2.1.4.0_wls_quick_slim_Disk1_1of1.zip
Download the Slim installer from http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html
(2) server-jre-8uXX-linux-x64.tar.gz
Download from http://www.oracle.com/technetwork/java/javase/downloads/server-jre8-downloads-2133154.html
HOW TO BUILD THIS IMAGE
-----------------------
Put all downloaded files in the same directory as this Dockerfile
Run:
$ docker build -f Dockerfile.slim -t oracle/weblogic:12.2.1.4-slim .
IMPORTANT
---------
The resulting image of this Dockerfile contains a WLS Empty Domain.
Extend base JRE image
You must build the image by using the Dockerfile in GitHub project
../../../OracleJava/java8
----------------------------------------------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions