vn-docker/debuild/Dockerfile

30 lines
748 B
Docker
Raw Normal View History

FROM debian:bookworm-slim
2020-01-16 14:09:47 +00:00
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y \
build-essential \
debhelper \
2024-07-10 10:45:02 +00:00
devscripts
2020-01-16 14:09:47 +00:00
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
ca-certificates \
gnupg2 \
libfontconfig \
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
2020-01-16 14:09:47 +00:00
&& apt-get install -y --no-install-recommends \
2022-07-27 10:09:41 +00:00
nodejs \
&& npm install -g npm
2020-01-16 14:09:47 +00:00
2024-07-10 10:45:02 +00:00
RUN rm -rf /var/lib/apt/lists/*
2020-01-16 16:28:42 +00:00
RUN groupadd -g 1000 jenkins \
&& useradd -d /home/jenkins -u 1000 -g 1000 -m -s /bin/bash jenkins \
&& mkdir -p /home/jenkins/agent/workspace \
&& chown -R jenkins:jenkins /home/jenkins/agent
2020-01-16 14:09:47 +00:00
USER jenkins