vn-docker/debuild/Dockerfile

32 lines
787 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 \
devscripts \
reprepro \
2020-01-16 16:28:42 +00:00
sudo
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
2020-01-16 16:28:42 +00:00
RUN groupadd -g 1000 jenkins \
&& useradd -d /var/jenkins_home -u 1000 -g 1000 -m -s /bin/bash jenkins \
&& echo "jenkins ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/jenkins \
&& mkdir /reprepro
2020-01-16 14:09:47 +00:00
2020-01-16 16:28:42 +00:00
VOLUME ["/reprepro"]
COPY vn-includedeb /usr/bin/