diff --git a/docker-compose.yml b/docker-compose.yml index af7f8d1..cc03088 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -126,4 +126,9 @@ services: dockerfile: ./parrot/Dockerfile ports: - 8021:8000 - + solus: + build: + context: . + dockerfile: ./solus/Dockerfile + ports: + - 8022:8000 diff --git a/solus/Dockerfile b/solus/Dockerfile new file mode 100644 index 0000000..1b3e11f --- /dev/null +++ b/solus/Dockerfile @@ -0,0 +1,32 @@ +FROM takano32/solus:4.4-budgie +LABEL maintainer "TAKANO Mitsuhiro " + +RUN eopkg dr Solus +RUN eopkg rr Solus +RUN eopkg ar Solus http://mirrors.rit.edu/solus/packages/shannon/eopkg-index.xml.xz +RUN eopkg rdb -y +RUN eopkg ur +RUN eopkg up -y + +RUN eopkg install -y perl +RUN usysconf run -f ssl-certs + +RUN eopkg 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 eopkg install -y linux-headers linux-lts-headers linux-current-headers +RUN eopkg install -y llvm llvm-clang lldb +RUN eopkg install -yc system.devel +RUN eopkg install -y make +RUN eopkg install -y rpm + +RUN eopkg install -y libelf-devel + +COPY ./entrypoint.sh / +RUN chmod 755 /entrypoint.sh +EXPOSE 8000 +ENTRYPOINT ["/entrypoint.sh"] +