initial commit
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
~*
|
||||||
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#FROM debian:bookworm-slim
|
||||||
|
#RUN echo "deb http://http.us.debian.org/debian bookworm main contrib non-free" >/etc/apt/sources.list && apt update && apt -y dist-upgrade && apt -y install joe trn && apt clean && useradd -mc "Scott Alfter" scott && ln -sf /usr/share/zoneinfo/US/Pacific /etc/localtime
|
||||||
|
#ENTRYPOINT /usr/bin/trn
|
||||||
|
|
||||||
|
FROM gentoo/stage3:i686-openrc
|
||||||
|
RUN emaint sync -r gentoo >/dev/null && \
|
||||||
|
FEATURES="parallel-fetch" EMERGE_DEFAULT_OPTS="--autounmask-write --quiet-build=y" emerge eselect-repository dev-vcs/git joe && \
|
||||||
|
eselect repository enable salfter && \
|
||||||
|
emaint sync -r salfter && \
|
||||||
|
emerge trn && \
|
||||||
|
emerge -C git && \
|
||||||
|
emerge --depclean && \
|
||||||
|
eselect repository disable salfter && \
|
||||||
|
rm -r /var/db/repos/gentoo/* /var/db/repos/salfter/* && \
|
||||||
|
useradd -mc "Scott Alfter" scott && \
|
||||||
|
ln -sf /usr/share/zoneinfo/US/Pacific /etc/localtime
|
||||||
|
WORKDIR /home/scott
|
||||||
|
ENTRYPOINT ["/usr/bin/trn"]
|
||||||
9
README.md
Normal file
9
README.md
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
containerized trn
|
||||||
|
=================
|
||||||
|
|
||||||
|
This builds trn (from https://github.com/arnoldrobbins/trn) under 32-bit
|
||||||
|
Gentoo Linux in a container. Build it:
|
||||||
|
|
||||||
|
```docker build -t salfter/trn .```
|
||||||
|
|
||||||
|
start.sh is a convenience script that can be copied to /usr/local/bin/trn.
|
||||||
Reference in New Issue
Block a user