1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00

Add a Dockerfile and Spec for Fedora 34

This commit is contained in:
Dmitry Vedenko
2021-07-30 18:54:40 +03:00
committed by Dmitry Vedenko
parent 58f2b2f99e
commit 583adc57d0
8 changed files with 244 additions and 289 deletions

View File

@@ -0,0 +1,19 @@
FROM fedora:34
LABEL maintainer="d.vedenko@audacityteam.org"
LABEL description="A build environment to check the builds for Fedora package maintainers"
LABEL version="3.0"
COPY ["dependencies.sh", "/dependencies.sh"]
RUN ./dependencies.sh
COPY ["entrypoint.sh", "/entrypoint.sh"]
RUN useradd -m user
#RUN echo "user ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/user
USER user
WORKDIR /home/user
COPY ["audacity.spec", "/home/user/audacity.spec"]
ENTRYPOINT ["bash", "-ex", "/entrypoint.sh"]