| 1 |
FROM fedora:34 |
| 2 |
|
| 3 |
LABEL maintainer="[email protected]" |
| 4 |
LABEL description="A build environment to check the builds for Fedora package maintainers" |
| 5 |
LABEL version="3.0" |
| 6 |
|
| 7 |
COPY ["dependencies.sh", "/dependencies.sh"] |
| 8 |
RUN ./dependencies.sh |
| 9 |
|
| 10 |
COPY ["entrypoint.sh", "/entrypoint.sh"] |
| 11 |
|
| 12 |
RUN useradd -m user |
| 13 |
#RUN echo "user ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/user |
| 14 |
USER user |
| 15 |
WORKDIR /home/user |
| 16 |
|
| 17 |
COPY ["audacity.spec", "/home/user/audacity.spec"] |
| 18 |
|
| 19 |
ENTRYPOINT ["bash", "-ex", "/entrypoint.sh"] |