-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
17 lines (13 loc) · 1009 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM jenkins/agent:latest-bullseye-jdk11
USER root
# Updating the packages to the newest release.
RUN DEBIAN_FRONTEND=noninteractive apt-get update -y -qq && apt-get dist-upgrade -y -qq && rm -rf /var/lib/apt/lists/
# Install base addon packages defined below.
ENV packages="git zip maven"
RUN DEBIAN_FRONTEND=noninteractive apt-get update -y -qq && apt-get install -y -qq $packages && rm -rf /var/lib/apt/lists/*
# Install dependencies needed for https://github.com/cbdevnet/midimonster build.
ENV midimonster_dependencies_build="libasound2-dev libevdev-dev liblua5.3-dev libola-dev libjack-jackd2-dev python3-dev libssl-dev build-essential pkg-config mingw-w64 git-buildpackage"
ENV midimonster_dependencies_test="lintian codespell python3 python3-pip shellcheck cloc"
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y -qq $midimonster_dependencies_build $midimonster_dependencies_test && rm -rf /var/lib/apt/lists/*
# Set user back to Jenkins like in the base image.
USER jenkins