add ut99
This commit is contained in:
32
Dockerfile
32
Dockerfile
@@ -4,6 +4,10 @@ RUN apk add --no-cache git ca-certificates
|
||||
WORKDIR /src
|
||||
RUN echo "$CACHE_BUST" && git clone --depth 1 --branch retrodebian --single-branch https://gitea.chacha.ddns.net/chacha/glide.git
|
||||
|
||||
FROM alpine:latest AS fetcher-cached
|
||||
RUN apk add --no-cache git ca-certificates
|
||||
WORKDIR /src
|
||||
RUN git clone --depth 1 --branch master --single-branch https://gitea.chacha.ddns.net/chacha/UT99-Official.git
|
||||
|
||||
# building a modified Kernel + modules + libs
|
||||
FROM lpenz/debian-etch-i386-minbase AS kernel-builder
|
||||
@@ -117,6 +121,33 @@ RUN /usr/src/buildglidepkg.sh sst1
|
||||
#WORKDIR /usr/src/
|
||||
#RUN /usr/src/buildglidepkg.sh sst96
|
||||
|
||||
# Package UT99
|
||||
WORKDIR /root
|
||||
COPY --from=fetcher-cached /src/UT99-Official ./ut-game
|
||||
COPY ut-install-436.run ./
|
||||
RUN chmod +x ut-install-436.run && \
|
||||
./ut-install-436.run --target ./ut || true && \
|
||||
tar xzf ./ut/data.tar.gz -C ut-game && \
|
||||
cp ./ut/bin/x86/ut ut-game/ && \
|
||||
rm ut-game/System/*.frt && \
|
||||
rm ut-game/System/*.itt && \
|
||||
rm ut-game/System/*.est && \
|
||||
rm ut-game/System/*.exe && \
|
||||
rm ut-game/System/*.dll && \
|
||||
rm ut-game/System/*.url && \
|
||||
rm ut-game/System/*.bat && \
|
||||
rm ut-game/Sounds/*est_uax && \
|
||||
rm ut-game/Sounds/*frt_uax && \
|
||||
rm ut-game/Sounds/*itt_uax && \
|
||||
rm ut-game/DoConfig.py && \
|
||||
rm ut-game/DoConfig.sh && \
|
||||
rm -Rf ut-game/Web && \
|
||||
rm -Rf ut-game/Help/*
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#RUN rm *.gz *.bz2 && rm -Rf glide && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Note: we need to use Lenny because of live-helper
|
||||
@@ -124,6 +155,7 @@ RUN /usr/src/buildglidepkg.sh sst1
|
||||
FROM lpenz/debian-lenny-i386-minbase
|
||||
WORKDIR /root
|
||||
COPY --from=kernel-builder /usr/src/*.deb .
|
||||
COPY --from=kernel-builder /root/ut-game ./ut-game
|
||||
COPY update-initramfs.sh .
|
||||
COPY zzz-config-live.sh .
|
||||
COPY desktop .
|
||||
|
||||
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -4,7 +4,7 @@ pipeline {
|
||||
filename 'Dockerfile'
|
||||
dir '.'
|
||||
label 'pyDABFActory-CIAgent'
|
||||
additionalBuildArgs '--build-arg CACHE_BUST=$(date +%s)'
|
||||
additionalBuildArgs '--no-cache-filter fetcher'
|
||||
args '--privileged --security-opt seccomp=unconfined --security-opt apparmor=unconfined -u root:root'
|
||||
}
|
||||
}
|
||||
@@ -62,6 +62,8 @@ pipeline {
|
||||
cp /root/desktop config/chroot_local-packageslists/
|
||||
mkdir -p config/chroot_local-includes/usr/share/wallpapers
|
||||
cp /root/wallpaper.jpg config/chroot_local-includes/usr/share/wallpapers/retrodebian.jpg
|
||||
mkdir -p config/chroot_local-includes/usr/local/games/ut99/
|
||||
cp -R /root/ut-game/* config/chroot_local-includes/usr/local/games/ut99/
|
||||
'''
|
||||
sh 'lh_build'
|
||||
}
|
||||
|
||||
BIN
ut-install-436.run
Normal file
BIN
ut-install-436.run
Normal file
Binary file not shown.
@@ -90,7 +90,7 @@ xterm*faceSize: 10
|
||||
EOF
|
||||
|
||||
cat >> /etc/skel/.bashrc <<'EOF'
|
||||
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||
PS1='${debian_chroot:+($debian_chroot)}\[\033[0;37m\]\u@\h\[\033[0m\]:\[\033[0;36m\]\w\[\033[0m\]\$ '
|
||||
alias apt='apt-get'
|
||||
if [ -x /usr/bin/dircolors ]; then
|
||||
eval "$(dircolors -b)"
|
||||
|
||||
Reference in New Issue
Block a user