| 1 |
FROM ubuntu:focal |
| 2 |
|
| 3 |
LABEL maintainer="[email protected]" |
| 4 |
LABEL description="A build environment to check the builds for the package maintainers" |
| 5 |
LABEL version="3.0" |
| 6 |
|
| 7 |
RUN apt-get update && apt-get install -y dos2unix |
| 8 |
|
| 9 |
WORKDIR /audacity |
| 10 |
|
| 11 |
COPY ["dependencies.sh", "/audacity/"] |
| 12 |
# pkg-config is so broken |
| 13 |
COPY ["pkgconfig/*", "/usr/local/lib/pkgconfig/"] |
| 14 |
|
| 15 |
RUN dos2unix dependencies.sh && \ |
| 16 |
find /usr/local/lib/pkgconfig/ -type f -print0 | xargs -0 dos2unix |
| 17 |
|
| 18 |
RUN ["bash", "-ex", "dependencies.sh"] |
| 19 |
|
| 20 |
COPY ["entrypoint.sh", "/audacity/"] |
| 21 |
RUN dos2unix entrypoint.sh |
| 22 |
|
| 23 |
CMD ["bash", "-ex", "./entrypoint.sh"] |