Skip to content

Commit

Permalink
chimeralinux works
Browse files Browse the repository at this point in the history
  • Loading branch information
takano32 committed Mar 9, 2024
1 parent fe5e385 commit 64e2b88
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
almalinux, amazonlinux,
centos, centos8, fedora, # mageia
opensuse, rockylinux, # oraclelinux
archlinux, cbl-mariner, gentoo] # manjarolinux, void-linux
# redhat, chimeralinux
archlinux, cbl-mariner, chimeralinux, gentoo] # manjarolinux, void-linux
# redhat
uses: ./.github/workflows/build.yml
with:
linux: ${{ matrix.linux }}
Expand Down
29 changes: 15 additions & 14 deletions chimeralinux/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM takano32/chimeralinux
FROM chimeralinux/chimera
# FROM takano32/chimeralinux
LABEL maintainer "TAKANO Mitsuhiro <[email protected]>"

RUN apk update && apk upgrade || apk fix
Expand All @@ -25,6 +26,14 @@ RUN apk add elftoolchain-devel
RUN apk add openssl-devel
RUN apk add linux-headers

RUN apk add gm4 gtar gsed findutils
RUN ln -sf /usr/sbin/gm4 /usr/local/bin/m4
RUN ln -sf /usr/sbin/gtar /usr/local/bin/tar
RUN ln -sf /usr/sbin/gsed /usr/local/bin/sed
RUN ln -sf /usr/sbin/gfind /usr/local/bin/find
RUN apk add xz

RUN apk add shadow
RUN useradd takano32
RUN mkdir -p /home/takano32
RUN chown -R takano32:takano32 /home/takano32
Expand All @@ -38,11 +47,11 @@ RUN ln -sf /usr/sbin/gmake /usr/local/bin/make
RUN apk add opendoas
RUN mkdir archives
RUN chown takano32:takano32 archives
RUN fetch https://ftp.gnu.org/gnu/coreutils/coreutils-9.3.tar.gz
RUN chown takano32:takano32 coreutils-9.3.tar.gz
RUN mv coreutils-9.3.tar.gz archives
RUN cd archives && $SUDO tar xvf coreutils-9.3.tar.gz
RUN cd archives/coreutils-9.3 && $SUDO ./configure && $SUDO make && make install
RUN fetch https://ftp.gnu.org/gnu/coreutils/coreutils-9.4.tar.gz
RUN chown takano32:takano32 coreutils-9.4.tar.gz
RUN mv coreutils-9.4.tar.gz archives
RUN cd archives && $SUDO tar xvf coreutils-9.4.tar.gz
RUN cd archives/coreutils-9.4 && $SUDO ./configure && $SUDO make && make install

RUN apk add texinfo
RUN fetch https://ftp.gnu.org/gnu/bc/bc-1.07.1.tar.gz
Expand All @@ -51,14 +60,6 @@ RUN mv bc-1.07.1.tar.gz archives
RUN cd archives && $SUDO tar xvf bc-1.07.1.tar.gz
RUN cd archives/bc-1.07.1 && $SUDO ./configure && $SUDO make && make install

RUN apk add gm4 gtar gsed findutils
RUN ln -sf /usr/sbin/gm4 /usr/local/bin/m4
RUN ln -sf /usr/sbin/gtar /usr/local/bin/tar
RUN ln -sf /usr/sbin/gsed /usr/local/bin/sed
RUN ln -sf /usr/sbin/gfind /usr/local/bin/find
RUN apk add xz

RUN apk add llvm
RUN rm -rf /var/cache/apk/*

COPY ./entrypoint.sh /
Expand Down

0 comments on commit 64e2b88

Please sign in to comment.