vn-docker/debuild/Dockerfile

31 lines
755 B
Docker
Raw Normal View History

2020-01-16 14:09:47 +00:00
FROM debian:buster-slim
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 -sL https://deb.nodesource.com/setup_10.x | bash - \
&& apt-get install -y --no-install-recommends \
nodejs
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/