Skip to content

Commit

Permalink
Merge branch 'master' into solus
Browse files Browse the repository at this point in the history
  • Loading branch information
takano32 committed Mar 9, 2024
2 parents 265eccf + 3d899ff commit 2f010fc
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
almalinux, amazonlinux,
centos, centos8, fedora, # mageia
opensuse, rockylinux, # oraclelinux
archlinux, cbl-mariner, chimeralinux, gentoo] # manjarolinux, void-linux
archlinux, cbl-mariner, chimeralinux, gentoo, parrot] # manjarolinux, void-linux
# redhat
uses: ./.github/workflows/build.yml
with:
Expand Down
9 changes: 7 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,15 @@ services:
dockerfile: ./manjarolinux/Dockerfile
ports:
- 8020:8000
parrot:
build:
context: .
dockerfile: ./parrot/Dockerfile
ports:
- 8021:8000
solus:
build:
context: .
dockerfile: ./solus/Dockerfile
ports:
- 8021:8000

- 8022:8000
28 changes: 28 additions & 0 deletions parrot/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM parrotsec/core
LABEL maintainer "TAKANO Mitsuhiro <[email protected]>"

ENV DEBIAN_FRONTEND=noninteractive
ENV DEBCONF_NOWARNINGS=yes

RUN grep '^deb ' /etc/apt/sources.list | sed 's/^deb/deb-src/g' > /etc/apt/sources.list.d/deb-src.list

RUN apt-get update
RUN apt-get install -y git

ENV ORIGIN=https://github.com/torvalds/linux.git
RUN git clone --depth 1 ${ORIGIN} /build-kernel/linux
RUN while :; do cd /build-kernel/linux && git fetch --unshallow && break || sleep 5; done
RUN cd /build-kernel/linux && git pull --all

RUN apt-get upgrade -y && apt-get dist-upgrade -y
RUN apt-get build-dep -y linux
RUN apt-get install -y llvm clang lld
RUN apt-get install -y rpm
RUN apt-get install -y curl python3-pip
RUN apt-get clean

COPY ./entrypoint.sh /
RUN chmod 755 /entrypoint.sh
EXPOSE 8000
ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit 2f010fc

Please sign in to comment.