Semaphore image

This commit is contained in:
Chema Ferrís 2022-11-25 12:07:22 +01:00
parent 0bb9ee6379
commit 402971406a
1 changed files with 36 additions and 0 deletions

36
semaphore/Dockerfile Normal file
View File

@ -0,0 +1,36 @@
FROM semaphoreui/semaphore:v2.8.75
USER root
RUN apk add --update --no-cache python3 py-pip python3-dev musl-dev krb5 krb5-dev gcc
RUN pip install --upgrade pip \
pip install --upgrade pywinrm \
pip install --upgrade pywinrm[kerberos] \
pip install --upgrade pywinrm[credssp]
#RUN apt-get update \
# && apt-get upgrade -y \
# && apt-get install -y --no-install-recommends \
# gcc \
# libffi-devel \
# python3 \
# epel-release \
# python3-pip \
# wget
#RUN pip3 install --upgrade pip \
# pip3 install --upgrade virtualenv \
# pip3 install pywinrm[kerberos] \
# pip3 install pywinrm \
# pip3 install jmspath \
# pip3 install request
RUN ls /usr/local/bin/
WORKDIR /home/semaphore
USER 1001
CMD ["/usr/local/bin/semaphore-wrapper","/usr/local/bin/semaphore","server","--config","/etc/semaphore/config.json"]