-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image Creation Fails on step 17 with error: Build command failed with error: DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/ COPY failed: file not found in build context or excluded by .dockerignore: stat Web: file does not exist #519
Comments
@Bisonfan95 Can you let me know what happens when you run imagetool.sh on your environment if you add the platform option to the command line? This flag forces Image Tool to use buildx. For example: |
I tried it before already, the script seems to be passing wrong parameters for docker. It doesn't recognize "--force-rm". I get this Output: ./imagetool.sh create --tag wls:12.2.1.4.0 --version 12.2.1.4.0 --platform linux/amd64 Usage: docker [OPTIONS] COMMAND A self-sufficient runtime for containers Common Commands: Management Commands: Swarm Commands: Commands: Global Options: Run 'docker COMMAND --help' for more information on a command. For more help on how to use Docker, head to https://docs.docker.com/go/guides/ |
|
Just so that we can get to the original question, can you add
|
Hello! My OS is Arch Linux, kernel version: 6.5.0-valve22-1-neptune-65-g9a338ed8a75e (64-bit) and my docker version is: 25.0.2 I managed to install buildx for docker to avoid using the deprecated builder. I added what you asked and this is my output (thanks for helping): ./imagetool.sh create --tag wls:12.2.1.4.0 --version 12.2.1.4.0 --platform linux/amd64 --skipcleanup Usage: docker [OPTIONS] COMMAND A self-sufficient runtime for containers Common Commands: Management Commands: Swarm Commands: Commands: Global Options: Run 'docker COMMAND --help' for more information on a command. For more help on how to use Docker, head to https://docs.docker.com/go/guides/ |
I believe that there is something in your environment that is causing these issues.
|
Currently Working on Arch Linux, specifically on Steam Deck Beta Branch. It doesn't work either with a local user with Java Home properly Set and added to the docker group of users nor with the SUDO command.
How to reproduce:
Run this command on the imagetool/bin folder after adding proper JDK and WLS installer: ./imagetool.sh create --tag wls:12.2.1.4.0 --version 12.2.1.4.0
The text was updated successfully, but these errors were encountered: