ThePorgs / Exegol

Fully featured and community-driven hacking environment
https://exegol.readthedocs.io/
GNU General Public License v3.0
1.95k stars 191 forks source link

Image build fails on Ubuntu 24.04 #243

Closed RastaTaz closed 1 week ago

RastaTaz commented 1 week ago

Describe the bug

Was building my first container on an Ubuntu 24.04, with following dependencies:

I was using exegol install -vv test --build-log "/tmp/build.log" and it fails with error tahn can be found in attached log. build.log

Steps To Reproduce

  1. launch exegol build command exegol install test full from standard Ubuntu 24.04

Exegol Wrapper Version

[*] Exegol is currently in version v4.3.8
[*] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[*] Exegol documentation: https://exegol.rtfd.io/
[D] Pip installation: On ✔ (pipx)
[D] Git source installation: Off 🪓
[D] Host OS: Linux (Kernel)
[D] Arch: amd64
[D] Raw arch: x86_64
[D] Docker desktop: Off 🪓
[D] Shell type: Linux
[D] Last wrapper update check: 13/11/2024

Host OS

Linux

Configuration of the concerned container

No response

Execution logs in debug mode

Only end of debug logs pasted:
####
[EXEGOL] Adding build pipeline test command: /usr/lib/jvm/java-21-openjdk/bin/java
--version
'/usr/lib/jvm/java-17-openjdk' -> '/usr/lib/jvm/java-17-openjdk-amd64'
[EXEGOL] Installing go (Golang)
Platform 'linux' supported!
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  6  141M    6  9.8M    0     0  24.5M      0  0:00:05 --:--:--  0:00:05 24.5M 56  141M   56 79.9M    0     0  57.0M      0  0:00:02  0:00:01  0:00:01 57.0M100  141M  100  141M    0     0  64.0M      0  0:00:02  0:00:02 --:--:-- 64.0M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100    64  100    64    0     0    649      0 --:--:-- --:--:-- --:--:--   653
verifying checksum
/root/.asdf/downloads/golang/1.19/archive.tar.gz: OK
checksum verified
[EXEGOL ERROR] Temp fix expired. Exiting.
[V] Removing intermediate container ca24c463092b
[-] Docker build error: The command '/bin/sh -c ./entrypoint.sh package_base' returned a
non-zero code: 1
[!] An error occurred during the image build (code: 1). Exiting.
####

Exception

No response

Anything else?

Wasn't very clear to m in the docs at first, but I guess I could be using the docker image instead of building it... => currently trying a exegol install full

QU35T-code commented 1 week ago

@RastaTaz,

Exegol offers preconfigured images. You can install them with the exegol install full command. (https://exegol.readthedocs.io/en/latest/exegol-wrapper/install.html)

Your first attempt was to create a local image (exegol install -vv test --build-log "/tmp/build.log").