-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
34 lines (23 loc) · 997 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
# syntax=docker/dockerfile:1
FROM ruby:3.1-bullseye AS ruby
FROM starkandwayne/carousel-concourse AS carousel
FROM ubuntu:latest
RUN apt-get update \
&& ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime \
&& apt-get install -y --no-install-recommends build-essential \
libssl-dev bash curl ca-certificates wget tar git less file \
openssh-client procps dnsutils whois netcat tcpdump tcptrace sipcalc \
perl tig tmux tree pwgen unzip nmap gnupg2 tzdata xz-utils python3 python3-pip \
zlib1g-dev libtool libyaml-dev htop \
&& dpkg-reconfigure --frontend noninteractive tzdata \
&& echo hosts: files dns > /etc/nsswitch.conf
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tshark
COPY --from=ruby /usr/local /usr/local
COPY --from=carousel /bin/carousel /bin/carousel
#ADD ./bin/fly-wrapper /usr/local/bin/fly
ADD ./bin/cf-wrapper /usr/local/bin/cf
ADD ./bin/yamler /usr/local/bin/yamler
WORKDIR /build
ADD ./bin/build /build/build
RUN /build/build
CMD /bin/bash