45 lines
1.5 KiB
Docker
45 lines
1.5 KiB
Docker
FROM dobu/deps-base-archlinux:latest
|
|
|
|
ARG UPSTREAM_VERSION
|
|
|
|
RUN pacman --noconfirm -Syu && \
|
|
pacman --noconfirm -S base-devel git sudo gnupg
|
|
|
|
RUN mkdir /src && chown user:user /src
|
|
RUN echo "user ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
|
USER user
|
|
WORKDIR /src
|
|
|
|
WORKDIR /home/user
|
|
RUN sudo rm -rf /src
|
|
# machine-id is required for dconf/gsettings
|
|
RUN sudo dbus-uuidgen --ensure
|
|
|
|
RUN git clone https://aur.archlinux.org/icoextract.git && \
|
|
cd icoextract && makepkg --noconfirm -sci
|
|
|
|
RUN git clone https://aur.archlinux.org/python-setuptools-reproducible.git && \
|
|
cd python-setuptools-reproducible && makepkg --noconfirm -sci
|
|
|
|
RUN git clone https://aur.archlinux.org/patool.git && \
|
|
cd patool && makepkg --noconfirm -sci
|
|
|
|
RUN git clone https://aur.archlinux.org/python-fvs.git && \
|
|
cd python-fvs && makepkg --noconfirm -sci
|
|
|
|
RUN git clone https://aur.archlinux.org/python-pathvalidate.git && \
|
|
cd python-pathvalidate && makepkg --noconfirm -sci
|
|
|
|
RUN git clone https://aur.archlinux.org/python-steamgriddb.git && \
|
|
cd python-steamgriddb && makepkg --noconfirm -sci
|
|
|
|
RUN git clone https://aur.archlinux.org/vkbasalt-cli.git && \
|
|
cd vkbasalt-cli && makepkg --noconfirm -sci
|
|
|
|
RUN git clone https://aur.archlinux.org/bottles.git && \
|
|
cd bottles && makepkg --noconfirm -sci
|
|
|
|
LABEL net.typeblog.dobu.desktop_file_path=/usr/share/applications/com.usebottles.bottles.desktop
|
|
LABEL net.typeblog.dobu.x11_required=true
|
|
|
|
ENTRYPOINT [ "/usr/bin/bash", "-c", "export $(dbus-launch) && /usr/bin/bottles" ]
|