-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
43 lines (36 loc) · 955 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM ubuntu:22.04
LABEL org.opencontainers.image.source = "https://github.com/matthewboehlke/multitool"
# Install packages from apt and pip
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=America/New_York
RUN echo "**** Installing from apt ****" && \
apt-get update -y && apt-get install -y \
vim \
emacs \
nmap \
htop \
screen \
zip \
unzip \
openssh-client \
tmux \
awscli \
s3cmd \
python3 \
python3-pip \
ansible \
curl \
wget \
sudo \
openssl \
git \
gpg
RUN useradd --system --create-home --home-dir /home/ubuntu --shell /bin/bash --gid root --groups sudo --uid 10001 --password "$(openssl passwd -1 ubuntu)" ubuntu && \
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
# Run install scripts for various tools
COPY src/ /scripts
USER ubuntu
RUN echo "**** Installing and configuring tools ****" && \
/scripts/install-all.sh
# Steampipe UI
EXPOSE 9194