Skip to content
Snippets Groups Projects
Commit 94a6bca2 authored by qweqweasdasd's avatar qweqweasdasd
Browse files

Minor changes

parent 379db070
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ARG ORCHENT_VERSION=1.2.9.rc1 ...@@ -4,7 +4,7 @@ ARG ORCHENT_VERSION=1.2.9.rc1
ARG LIBQRENCODE_PATH=/tmp/libqrencode.deb ARG LIBQRENCODE_PATH=/tmp/libqrencode.deb
RUN DEBIAN_FRONTEND=noninteractive \ RUN DEBIAN_FRONTEND=noninteractive \
&& apt-get update && apt-get install -y gnupg2 apt-utils software-properties-common wget && apt-get update && apt-get install -y gnupg2 apt-utils software-properties-common wget nmap
RUN DEBIAN_FRONTEND=noninteractive \ RUN DEBIAN_FRONTEND=noninteractive \
&& wget -O ${LIBQRENCODE_PATH} wget http://archive.ubuntu.com/ubuntu/pool/universe/q/qrencode/libqrencode3_3.4.4-1build1_amd64.deb \ && wget -O ${LIBQRENCODE_PATH} wget http://archive.ubuntu.com/ubuntu/pool/universe/q/qrencode/libqrencode3_3.4.4-1build1_amd64.deb \
...@@ -14,10 +14,10 @@ RUN DEBIAN_FRONTEND=noninteractive \ ...@@ -14,10 +14,10 @@ RUN DEBIAN_FRONTEND=noninteractive \
RUN DEBIAN_FRONTEND=noninteractive \ RUN DEBIAN_FRONTEND=noninteractive \
&& apt-get update \ && apt-get update \
&& apt-get install -y git ansible python3-pip openssh-client iproute2 net-tools oidc-agent \ && apt-get install -y git ansible python3-pip openssh-client iproute2 net-tools oidc-agent vim \
&& wget https://github.com/indigo-dc/orchent/releases/download/v${ORCHENT_VERSION}/orchent_${ORCHENT_VERSION}_amd64.deb \ && wget https://github.com/indigo-dc/orchent/releases/download/v${ORCHENT_VERSION}/orchent_${ORCHENT_VERSION}_amd64.deb \
&& dpkg -i orchent_${ORCHENT_VERSION}_amd64.deb \ && dpkg -i orchent_${ORCHENT_VERSION}_amd64.deb \
&& pip install gvm-tools \ && pip install gvm-tools jq yq \
&& apt-get clean && rm -rf /var/lib/apt/lists/* && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN useradd -ms /bin/bash gmp \ RUN useradd -ms /bin/bash gmp \
...@@ -28,7 +28,8 @@ COPY known_hosts /home/gmp/.ssh ...@@ -28,7 +28,8 @@ COPY known_hosts /home/gmp/.ssh
RUN chown -R gmp:gmp /home/gmp /tmp \ RUN chown -R gmp:gmp /home/gmp /tmp \
&& chmod 0600 /home/gmp/.ssh/id_rsa \ && chmod 0600 /home/gmp/.ssh/id_rsa \
&& chown gmp:gmp /etc/environment && chown gmp:gmp /etc/environment \
&& export PATH=$PATH:~/.local/bin
USER gmp USER gmp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment