Support for podman #9
Loading…
Reference in New Issue
No description provided.
Delete Branch "feature/jb/potman"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replaces the build system with
podman
.16d7bb9216
toc6eeb40680
@ -0,0 +1,18 @@
FROM "ubuntu:22.04"
WORKDIR /usr/scripts
Potentially not needed?
@ -0,0 +1,18 @@
FROM "ubuntu:22.04"
WORKDIR /usr/scripts
ADD ["scripts/make_gcc.sh", "/usr/scripts"]
WORKDIR /usr
For temporary working spaces to compile programs it would be preferable to use
/tmp
or$HOME
instead of/usr
to conform to normal *NIX conventions.@ -0,0 +15,4 @@
ENV PATH="/jaby_engine/bin:/root/.cargo/bin:${PATH}"
ENV JABY_ENGINE_PATH=/jaby_engine
ENV JABY_ENGINE_DIR=/jaby_engine
ENV PSX_LICENSE_PATH=/psx_license
Never set workdir to
/jaby_engine
or some other potentially useful directory? is it intended to be in/user/jaby_engine/bin/extern
?@ -0,0 +6,4 @@
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
JABY_ENGINE_PATH="$(dirname "$SCRIPT_DIR")"
cat << End >> ~/.profile
This will not work as expected on any distro that does not use bash by default. You could echo an example of what to add to your "bashrc" and let users add it to the correct rc file for their shell.
for example
so that people with alternate shells will still be able to use your tools.
or use
@ -0,0 +1,25 @@
#!/usr/bin/env bash
JABY_ENGINE_DOT_FOLDER="$HOME/.jaby_engine"
JABY_ENGINE_CARGO_FOLDER="$JABY_ENGINE_DOT_FOLDER/cargo/registry"
Can you directly map it to the local system cargo registry? does this potentially cause any problems?
I leave this unchanged for now.
I need to figure out first if this is really an issue
@ -0,0 +1,6 @@
#!/usr/bin/env bash
dst_name=JabyEngine-PSX_Game
should be
src_name