Skip to content

Commit

Permalink
feat: add utils
Browse files Browse the repository at this point in the history
add some useful stuff
  • Loading branch information
BobyMCbobs committed Feb 21, 2024
1 parent 6b43543 commit 3a6b126
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ RUN sed -i -e '0,/enabled=0/s//enabled=1/' /etc/yum.repos.d/fedora-updates-testi
RUN bootupctl backend generate-update-metadata && \
echo -e '\n\nii ALL=(ALL) NOPASSWD:ALL\n\n' >> /etc/sudoers
RUN flatpak remote-add --installation=image --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && \
COPY --from=cgr.dev/chainguard/dive:latest /usr/bin/dive /usr/bin/dive
COPY --from=cgr.dev/chainguard/flux:latest /usr/bin/flux /usr/bin/flux
COPY --from=cgr.dev/chainguard/helm:latest /usr/bin/helm /usr/bin/helm
COPY --from=cgr.dev/chainguard/ko:latest /usr/bin/ko /usr/bin/ko
COPY --from=cgr.dev/chainguard/minio-client:latest /usr/bin/mc /usr/bin/mc
COPY --from=cgr.dev/chainguard/kubectl:latest /usr/bin/kubectl /usr/bin/kubectl
RUN curl -Lo ./kind "https://github.com/kubernetes-sigs/kind/releases/latest/download/kind-$(uname)-amd64" && \
chmod +x ./kind && \
mv ./kind /usr/bin/kind
RUN wget https://github.com/docker/compose/releases/latest/download/docker-compose-linux-x86_64 -O /tmp/docker-compose && \
install -c -m 0755 /tmp/docker-compose /usr/bin
RUN systemctl enable docker.socket && \
systemctl enable podman.socket
flatpak install --installation=image -y org.mozilla.firefox net.sonic_pi.SonicPi edu.mit.Scratch
RUN rm -fr /tmp/* /var/* \
&& ostree container commit

0 comments on commit 3a6b126

Please sign in to comment.