Skip to content

Commit

Permalink
Dockerfile.dev: Review
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniele Rondina committed Apr 11, 2023
1 parent c85d20c commit 646f290
Showing 1 changed file with 26 additions and 20 deletions.
46 changes: 26 additions & 20 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,35 @@ ADD conf/luet.yaml.docker /etc/luet/luet.yaml
COPY --from=0 /funtoo-minimal/ /
ENV USER=root

SHELL ["/usr/bin/luet", "install", "-y", "--force", "--sync-repos"]
RUN repository/mottainai-stable
RUN repository/macaroni-commons-dev
RUN repository/macaroni-funtoo-dev

RUN system/entities

SHELL ["/usr/bin/luet", "install", "-y", "--force"]

RUN system/luet-geaaru-testing
RUN sys-apps/shadow
RUN sys-apps/sed
RUN app-shells/bash
RUN sys-devel-9.2.0/gcc

RUN virtual-entities/base
RUN [ \
"/usr/bin/luet", "install", "-y", "--force", "--sync-repos", \
"repository/mottainai-dev", \
"repository/macaroni-commons-dev", \
"repository/macaroni-funtoo-dev"]

RUN [ \
"/usr/bin/luet", "install", "-y", "--force", "--sync-repos", \
"--skip-config-protect", \
"system/entities", \
"system/luet-geaaru-testing", \
"sys-apps/shadow", \
"sys-apps/sed", \
"app-shells/bash", \
"glibc", \
"gcc", \
"sys-apps/iproute2", \
"sysvinit", \
"sys-apps/coreutils", \
"sys-apps/openrc", \
"virtual/base", \
"virtual-entities/base", \
"app-admin/macaronictl-thin" ]

SHELL ["/bin/bash", "-c"]

RUN luet i -y iproute2 sysvinit coreutils sys-apps/openrc virtual/base macaronictl-thin --skip-config-protect && \
macaronictl env-update && \
luet cleanup --purge-repos && \
mkdir /tmp
RUN macaronictl env-update && \
luet rm -y --nodeps virtual-entities/base && \
luet cleanup --purge-repos

ENV TMPDIR=/tmp
ENTRYPOINT ["/bin/bash"]

0 comments on commit 646f290

Please sign in to comment.