Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescalderon committed Dec 31, 2023
1 parent b36600e commit e001961
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ ENV HOMEBREW_NO_ENV_HINTS=true
RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc
RUN sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'

# Update the system
RUN dnf -y update && dnf -y upgrade
# # Update the system
# RUN dnf -y update && dnf -y upgrade

# Copy the list of packages into the container
COPY packages.dnf /tmp/packages.dnf
# # Copy the list of packages into the container
# COPY packages.dnf /tmp/packages.dnf

# Install packages from the list
RUN dnf -y install $(cat /tmp/packages.dnf)
# # Install packages from the list
# RUN dnf -y install $(cat /tmp/packages.dnf)

# # # Sym-link to host binaries
# RUN ln -fs /bin/sh /usr/bin/sh && \
# ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker && \
# ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/flatpak && \
# ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/podman && \
# ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/rpm-ostree && \
# ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/transactional-update
RUN ln -fs /bin/sh /usr/bin/sh && \
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker && \
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/flatpak && \
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/podman && \
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/rpm-ostree && \
ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/transactional-update

# # Copy the install script and packages file
# COPY install_homebrew.sh /home/jim/
Expand Down

0 comments on commit e001961

Please sign in to comment.