remove jenkins stuff

This commit is contained in:
Thomas Klaehn 2021-02-01 10:56:16 +01:00
parent b55fa30150
commit 568ac4f807

View File

@ -1,6 +1,6 @@
FROM debian:stretch-slim FROM debian:buster-slim
LABEL maintainer="tkl@blackfinn.de" LABEL maintainer="thomas.klaehn@perinet.io"
# Enable contrip section for "repo" # Enable contrip section for "repo"
RUN sed -i -e 's/.main$/ main contrib/' /etc/apt/sources.list RUN sed -i -e 's/.main$/ main contrib/' /etc/apt/sources.list
@ -10,10 +10,6 @@ RUN apt-get update && apt-get install -yq gawk wget git-core diffstat unzip \
texinfo gcc-multilib build-essential chrpath socat cpio python python3 \ texinfo gcc-multilib build-essential chrpath socat cpio python python3 \
python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-pip python3-pexpect xz-utils debianutils iputils-ping
# Install jenkins dependencies
RUN mkdir -p /usr/share/man/man1/
RUN apt-get install -yq openjdk-8-jre-headless
# Install repo # Install repo
RUN apt-get install -yq repo RUN apt-get install -yq repo
@ -29,10 +25,12 @@ RUN apt-get install -yq locales && \
ENV LANG en_US.UTF-8 ENV LANG en_US.UTF-8
RUN useradd -ms /bin/bash jenkins RUN useradd -ms /bin/bash builder
RUN echo "jenkins:jenkins" | chpasswd RUN echo "builder:builder" | chpasswd
ADD init.sh /usr/local/bin/init.sh ADD init.sh /usr/local/bin/init.sh
WORKDIR = /work
ENTRYPOINT ["/usr/local/bin/init.sh"] ENTRYPOINT ["/usr/local/bin/init.sh"]