Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vagrant docker #393

Draft
wants to merge 134 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
3426194
Added basic working Dockerfile, stuck on iptables.
tanderegg May 22, 2020
540e05b
Finished centos7 db server, testing file servers.
tanderegg May 28, 2020
5e223d8
Added Centos 6 Dockerfile, tested Admin Terminal
tanderegg May 28, 2020
b028fe3
Updated ci_server and ci_agent for Vagrant -> Docker deployment
Jun 17, 2020
c13ced8
Updateting gocd role to pull agent rpm from gocd download page
Jun 17, 2020
fe784c6
Updating PGDG repo for RHEL6
Jun 17, 2020
fab472c
added changes to ELK and ES
redspart Jun 19, 2020
6e2a44c
Removing deprecated python dependencies
Jun 19, 2020
ef37b45
Changed mesos serve port to be https port (now required by server) w/…
Jun 19, 2020
23de20b
Added rpm dep of python setuptools, required to be installed for both…
Jun 19, 2020
c96c44b
Merge pull request #4 from dvb-cfpb/vagrant-docker
tanderegg Jun 23, 2020
ce0abbe
Use Centos7 for gluster, remove volumes for Docker
tanderegg Jun 23, 2020
ef5c4d1
Merge branch 'vagrant-docker' of github.com:tanderegg/aurora into vag…
tanderegg Jun 23, 2020
7eaea05
Renabled mounting
redspart Jun 29, 2020
8e4db4d
Tweaks to ci components for Docker.r
tanderegg Jun 29, 2020
1fc25ef
Updating mesos agent and server vagrant configs to use Docker rather …
Jul 15, 2020
b2fd948
Setting appropriate zookeeper python lib (kazoo) for python 2.6 (ansi…
Jul 20, 2020
78745b7
Docker ssh connects to localhost so need a new var for hostname/ips s…
Jul 20, 2020
4c51b54
Changing service restart to ansible module. Cmd breaks if service isn…
Jul 20, 2020
6ffd162
Saving work
redspart Jul 28, 2020
9c315cf
Mesos docker dev environment on Centos6 -- agent doesn't work due to …
Aug 6, 2020
ebe2c90
Both kibana and es now show. Working on communication between them
redspart Aug 13, 2020
d88ea16
Added missing var
redspart Aug 13, 2020
8b88d6b
es1..3 now work with kibana
redspart Aug 13, 2020
31d3424
Updating to centos7/systemd. Update repos, tweek versions, ansible sy…
Aug 21, 2020
35122e5
Mesos Agent needs help figuring out where systemd/docker put its cgroup
Aug 23, 2020
fe8f417
Updating postgres repo to RHEL7
Sep 2, 2020
f6090be
Add pgdg repo key before repo (reordered) to aviod error
Sep 2, 2020
cc12c5d
Added missing nginx tag to 2 plays that where missing the tag and ass…
Sep 2, 2020
e6a1a9f
Assume the when statement meant to mean when on developement environm…
Sep 3, 2020
ca1edd5
Adding a tag to control execution of Install Database Automation cust…
Sep 3, 2020
7211491
Initial import from Luan's repo [https://github.com/lel99999/dev_Pyth…
Sep 25, 2020
24df630
Allowing to ignore iptables setting errors since the host variable be…
Sep 29, 2020
a758928
Installing required repo for devtools7 on centos
Sep 29, 2020
1b9fd94
Allowing to ignore iptables setting errors since the host variable be…
Sep 29, 2020
1acc700
Use systemd for rstudio start/stop verify needs a stop server
Sep 29, 2020
735c4d1
Merge remote-tracking branch 'upstream/vagrant-docker' into vagrant-d…
redspart Oct 1, 2020
23b9bc3
Changing shell commands to ansible modules
Oct 5, 2020
58a38c7
Adding missing roles from Luan merge
Oct 5, 2020
d4eb341
Updating name of file to extract (brittle)
Oct 6, 2020
7faa669
Removing envir variable used by Luan in testing
Oct 7, 2020
0bf2a44
Removing test provisioner
Oct 13, 2020
97ebe0c
Updating python/r roles to rhel7 versions
Oct 13, 2020
9412d5d
Put better guards on mesos epel installation
Oct 14, 2020
419f792
Merge remote-tracking branch 'origin/vagrant-docker--mesos-centos7' i…
Oct 14, 2020
b11ab14
Don't install epel on prod/dev
Oct 14, 2020
30c341b
[fix typo] Don't install epel on prod/dev
Oct 14, 2020
c1fbac4
Added python libraries role for RHEL7
Oct 27, 2020
f9c4a0e
Corrected gocd rpm checksum
Oct 28, 2020
182424e
Update r-shiny server and httpd handlers to use systmed instead of up…
Nov 17, 2020
b90ee52
Make sure installing expected python 2.7/3.6 (SCL) libs work
Nov 17, 2020
8030b78
Enable installing the mesos agent after merging in r and python libs
Dec 9, 2020
e3feb67
Update centos package repo for stability
Dec 9, 2020
a768725
Updated the location of texlive packages
Dec 10, 2020
916cb34
Added iptables flag to iptables enable play
Dec 10, 2020
40d5184
Casting iptables_config variable to bool to avoid deprecation
Dec 10, 2020
5cee456
Merge branch 'vagrant-docker--mesos-centos7' into vagrant-docker--mes…
dvbalen Dec 14, 2020
406cc19
Merge pull request #2 from dvb-cfpb/vagrant-docker--mesos-centos7-r_p…
dvbalen Dec 14, 2020
735f5a4
Fix role not found error
dvbalen Dec 14, 2020
7e9c3f9
Fxing roles not found due to case sensitivity
dvbalen Dec 14, 2020
f880e77
Allow skipping iptables install via tag and flag
Dec 16, 2020
adbd2e7
Checking rpm via md5 instead. Saves us adding gocd gpg key
Dec 18, 2020
8ba6596
Fixing cgroup location for docker vs VM/metal
Dec 22, 2020
5d9f747
Adding version lock to mesos/marathon packages (replaces SE/puppet en…
Dec 23, 2020
473197c
Removing jinja template from when statement since it is deprecated
Dec 28, 2020
57416a2
Fixing deprecation warning sudo -> become
Dec 29, 2020
00bb2e7
Starting to port proxy to docker / centos7 since centos6 docker is no…
Dec 29, 2020
647d662
Fixing pip install sequencing error slip needs matplotlib but it isn'…
Dec 30, 2020
3af95c8
Fixing pip install sequencing error slip needs Neurotools but it isn'…
Dec 30, 2020
dd31ec0
Making shiny-server not start on mesos agents
Jan 5, 2021
6ebfaa4
Fixing typo
Jan 5, 2021
1c39477
Begin adding avastus deployment
Jan 6, 2021
55c81dd
Adding avastus rhel7 role for the proxy. The avastus repo is defined …
Jan 29, 2021
ea5ff5e
Merge pull request #7 from dvb-cfpb/vagrant-docker--mesos-centos7
tanderegg Mar 1, 2021
dca5de0
Merge pull request #5 from redspart/vagrant-docker
tanderegg Mar 1, 2021
1cca7ce
DB Terminal changes for RH7 and Docker
Apr 2, 2021
798297a
Create ansible.cfg
annaSPb Apr 8, 2021
096b551
Rename ansible.cfg to zzz_ansible.cfg
annaSPb Apr 8, 2021
09aa67c
Update main.yaml
annaSPb Apr 13, 2021
9c9e979
Update main.yaml
annaSPb Apr 13, 2021
86d6700
Update main.yaml
annaSPb Apr 13, 2021
80711ac
Update main.yaml
annaSPb Apr 13, 2021
1dcc812
Update install_eod.yaml
annaSPb Apr 13, 2021
c5a005d
Update main.yaml
annaSPb Apr 14, 2021
2869d7f
Update main.yaml
annaSPb Apr 15, 2021
6098e4b
Update main.yaml
annaSPb Apr 15, 2021
d61841d
Update main.yaml
annaSPb Apr 15, 2021
452b1b0
EOD issues
Apr 30, 2021
2eaf500
EOD fix
May 6, 2021
58f2bfe
Sqitch usr/local/bin PATH
May 7, 2021
8f3ab4f
Sqitch usr/local/bin PATH
May 7, 2021
694360e
Merge branch 'db_terminal_rh7' of https://github.com/annaSPb/aurora i…
May 7, 2021
1a18520
sqitch, eod, python 36 packaged
May 12, 2021
42cde84
Added python36-numpy
May 12, 2021
a19e2ef
sqitch and python36 packages
May 13, 2021
33ccab7
pip 36 upgrade
May 13, 2021
2d35520
dep packages for SLIP
May 13, 2021
4d862a0
dep packages for SLIP
May 13, 2021
38d8016
node.cfg
May 14, 2021
9e2e3d3
eod monitors, python defaults
May 17, 2021
11561a4
python role
May 19, 2021
254142b
testing eod restart
May 20, 2021
c869ec8
testing eod restart
May 21, 2021
06e9f5e
Merge pull request #9 from annaSPb/db_terminal_rh7
tanderegg Jun 2, 2021
9743b19
Pinning pip upgrade to last to support python2
Apr 13, 2021
de5979e
marathon user has a defined uid and group id and is able to be added …
Apr 13, 2021
194a995
Ensure python2 pip and virtualenv are available outside of the scl sa…
Apr 26, 2021
b0fdd6b
Add a variable that allows overriding the ip the mesos api will liste…
Apr 26, 2021
31f3520
Have vagrant/docker started mesos master api listen on all ip address…
Apr 26, 2021
5e89756
Updated Vagrantfile ansible variable overides so they may be overidde…
Apr 26, 2021
89a912c
Update ansible syntax for v1.8
Apr 27, 2021
0a45e41
Update ansible syntax for v1.8
Apr 27, 2021
70c0b84
Rolling back to original
Apr 27, 2021
15ec2dd
Adding version locking to previously excepted packages
May 13, 2021
8e4d316
Fixed capitalization in libRmath package
May 14, 2021
1357f7c
Need to install mesos repo on prod
May 17, 2021
7d0ce4d
Adding cairocffi dependency pin so it will install in python2.7
May 17, 2021
371cb82
Upgrade pip to last to support python2
May 18, 2021
2a3b39d
Adding guards to epel installation so it isn't on prod and dev
May 19, 2021
7a98255
Fixing epel7 syntax error/ moving to require from module
May 19, 2021
60c4590
Bugfix: indentation
May 19, 2021
e3a7774
Adding tags to r-core tasks
May 20, 2021
3b1cb54
Manually installing shiny-server systemd scripts because install scri…
May 24, 2021
df81f6a
Bugfix: bad ansible parameter use
May 24, 2021
47224f3
Enable overlay filesystem for mesos/marathon containers
May 25, 2021
25c6830
Adding missing tags to task
May 25, 2021
ebcd210
Mesos image backend defaults to copy but can be changed to overlay; A…
May 26, 2021
87dab1e
Merge pull request #11 from tanderegg/vagrant-docker-mesos-rebase
tanderegg Jun 2, 2021
51f65e3
Updates for Tesseract to install properly.
tanderegg Nov 2, 2021
129ae70
Adds tesseract tags.
tanderegg Nov 3, 2021
3cb6cd8
Merge pull request #15 from tanderegg/tesseract_hotfix
tanderegg Nov 3, 2021
6cd8ae7
Adding missing iptables tag
Nov 8, 2021
e831427
Adding python2 symlinks to /usr/local for use by legacy pipelines; Ad…
Nov 8, 2021
c1c029c
Merge pull request #16 from dvb-cfpb/py2-simlinks
tanderegg Nov 8, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
301 changes: 223 additions & 78 deletions deploy/Vagrantfile

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions deploy/config_file_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@
become: yes
become_method: sudo

#vars:
# file_server_1_ip: "{{ hostvars['file_server_1']['ansible_eth0']['ipv4']['address'] }}"
# file_server_2_ip: "{{ hostvars['file_server_2']['ansible_eth0']['ipv4']['address'] }}"

tasks:
- debug:
var: hostvars['file_server_1']

- name: Probe for other file server
command: "gluster peer probe 10.0.1.4"

Expand Down
34 changes: 34 additions & 0 deletions deploy/deploy_PythonTest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
- hosts: all
#- hosts: wdcdev
vars:
custom_repo: true
use_epel: true
deploy_iptables: true
become: yes
become_method: sudo

roles:
- common7
- common
- epel7
# - emacsrh7
- openjdk1.8
- odbc7
- postgresql-client7

- devtools7 # CHECK!
- python2rh7
- python3rh7
- pyenvrh7
- pycharm7
- gocd7
- stattransfer14
- r_rh7
- r-studio-desktoprh7
- r-studio-serverrh7
- r-studio-server-configrh7
- r-shinyrh7
- r-shiny-configrh7


37 changes: 21 additions & 16 deletions deploy/deploy_admin_terminal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
become: yes
become_method: sudo
roles:
- {role: puppet_disable, when: "disable_puppet"}
- {role: iptables, when: "iptables_config"}
- { role: puppet_disable, when: "disable_puppet" }
- { role: iptables, when: "iptables_config" }
- common
- {role: epel, when: "use_epel and not 'production' in group_names"}
- {role: python, when: "custom_repo"}
- {role: python-build, when: "install_python and not custom_repo" }
- {role: log-courier, when: "install_logstash"}
- { role: epel7, when: "use_epel and not 'production' in group_names" }
# - { role: python, when: "install_python and custom_repo" }
- eod
- odbc
- devtools7
- python2rh7
- python3rh7
- python-libs7
- odbc7

tasks:
- name: Install development tools
Expand All @@ -21,12 +23,15 @@
state: present
disable_gpg_check: yes

- name: Install Ansible in Python 2.7
pip:
virtualenv_command: /usr/local/bin/virtualenv
virtualenv: ~/.virtualenvs/data-platform
name: ansible
state: present
umask: "0022"
sudo: no
when: "install_python"
# TODO: Removing for now, since this needs modification to support both the old
# Python install and the SCL install. And, we don't deploy Ansible code
# from here anyways.
# - name: Install Ansible in Python 2.7
# become: no
# pip:
# virtualenv_command: /usr/local/bin/virtualenv
# virtualenv: ~/.virtualenvs/data-platform
# name: ansible
# state: present
# umask: "0022"
# when: "install_python"
13 changes: 13 additions & 0 deletions deploy/deploy_avastus_service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# deploy_avastus_service.yml
# Ansible script to deploy Avasus which provides name resolution between marathon services and
# the enclave proxy. It is expected to run on the same host as the enclave proxy and is tightly
# coupled with the apache config directory.
#

---
- hosts: proxy_server
become: yes
become_method: sudo

roles:
- avastus
41 changes: 21 additions & 20 deletions deploy/deploy_db_terminal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,39 @@
- {role: puppet_disable, when: "disable_puppet"}
- {role: iptables, when: "iptables_config"}
- common
- {role: epel, when: "use_epel and not 'production' in group_names"}
- {role: epel7, when: "use_epel and not 'production' in group_names"}
- umask
- {role: log-courier, when: "install_logstash"}
- jdk
- postgresql-client
- eod
- devtools
- {role: python, when: "custom_repo"}
- {role: python-build, when: "not custom_repo"}
- python36-scl
- python-libs
- devtools7
- python2rh7
- python3rh7
- python-libs7
- sqitch
- {role: pem-client, tags: pem-client}
- sublime
- odbc
- odbc7
tasks:

- name: Install needed packages
yum:
name: "{{ item }}"
name:
- htop
- screen
- rsync
- unzip
- gpg
- pigz
- facter
- sysstat
- systemtap
- ant # sar, iostat, vmstat
- p7zip
- p7zip-plugins
- libpng12
- tesseract
state: present
with_items:
- htop
- screen
- rsync
- unzip
- gpg
- pigz
- facter
- sysstat # sar, iostat, vmstat
- systemtap # dtrace equivalent
- ant

- name: Install custom packages
yum:
Expand Down
3 changes: 3 additions & 0 deletions deploy/deploy_elastic_search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
- elasticsearch
- {role: log-courier, when: "install_logstash"}
- elasticsearch-config
vars:
iptables_config: iptables_config and ansible_virtualization_type != "docker"

6 changes: 5 additions & 1 deletion deploy/deploy_elk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
roles:
- common
- {role: puppet_disable, when: "disable_puppet"}
- {role: iptables, when: "iptables_config"}
- {role: iptables, when: "iptables_config and ansible_virtualization_type != 'docker'"}
- {role: epel, when: "use_epel and not 'production' in group_names"}
- jdk
- elasticsearch
vars:
iptables_config: iptables_config and ansible_virtualization_type != "docker"

- hosts: elk
become: yes
Expand Down Expand Up @@ -48,3 +50,5 @@
- kibana
- kibana-config
- {role: log-courier, when: "install_logstash"}
vars:
iptables_config: iptables_config and ansible_virtualization_type != "docker"
21 changes: 11 additions & 10 deletions deploy/deploy_file_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,18 @@
- odbc

tasks:
- name: Create the Filesystem
filesystem:
fstype: ext4
dev: /dev/sdb
# These commands won't work in Dockerr
#- name: Create the Filesystem
# filesystem:
# fstype: ext4
# dev: /dev/sdb

- name: Mount volume
mount:
name: /data
src: /dev/sdb
fstype: ext4
state: mounted
#- name: Mount volume
# mount:
# name: /data
# src: /dev/sdb
# fstype: ext4
# state: mounted

- name: Ensure directories exist
file:
Expand Down
6 changes: 3 additions & 3 deletions deploy/deploy_gocd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
- {role: iptables, when: "iptables_config"}
- gocd
# - pentaho Per Tim 11.18.19 -- Pentaho not used.
- {role: python, when: "custom_repo"}
- {role: python-build, when: "not custom_repo"}
#- {role: python, when: "custom_repo"}
#- {role: python-build, when: "not custom_repo"}
- python36-scl
- python-libs
- odbc
Expand Down Expand Up @@ -138,4 +138,4 @@
become: yes
become_method: sudo
roles:
- gocd
- gocd
50 changes: 22 additions & 28 deletions deploy/deploy_mesos_agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,33 @@

## Temporarily remove devtools and r due to limited repositories on agents
roles:
- common7
- common
- {role: iptables, when: "iptables_config"}
#- devtools
- {role: iptables, when: "{{ iptables_config | bool }}"}
- devtools7
- mesos_agent
- {role: epel, when: "use_epel"}
- jdk
- {role: epel7, when: "use_epel and not ( 'production' in group_names or 'developement' in group_names)"}
- openjdk1.8
- postgresql-client
- { role: apache, vars: { apache_service_state: "stopped", apache_service_enable: "no" } }
#- pentaho
- gocd
- gocd7
- { role: nginx, vars: { nginx_state: "stopped", nginx_enable: "no" } }
- {role: python, when: "custom_repo"}
- {role: python-build, when: "not custom_repo"}
- python36-scl
- python-libs
- odbc
- jdbc
- python2rh7
- python3rh7
- pyenvRH7
- python-libs7
- odbc7
- jdbc7
- {role: ruby, when: "install_ruby"}
- sqitch
- r-core
- r-libs
- r-shiny
- tesseract
- r_rh7
# TO TEST - r-libs7
- r-shinyRH7
- r-shiny-configRH7
- nodejs
- redis
# Not used on prod - redis
#- julia

post_tasks:
Expand All @@ -62,18 +65,6 @@
state: stopped
enabled: no

- name: Install custom RPMs
yum:
name: "{{ item }}"
state: present
disable_gpg_check: yes
with_items:
- xsv
- gnucobol
- htop
- p7zip
when: custom_repo

- name: Install Additional Database Automation packages
yum:
name: "{{ item }}"
Expand All @@ -87,11 +78,14 @@
# - facter
- sysstat # sar, iostat, vmstat
- systemtap # dtrace equivalent
- ant
- p7zip
- gnucobol

- name: Install Database Automation custom packages
yum:
name: "{{ item }}"
state: "{{ db_automation_package_state }}"
disable_gpg_check: yes
with_items: "{{ db_automation_custom_packages }}"
tags:
- db-automation
8 changes: 6 additions & 2 deletions deploy/deploy_mesos_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,21 @@
max_fail_percentage: 30
roles:
- {role: iptables, when: "iptables_config"}
- epel # This is for rhel6 pip
- { role: epel7, when: "use_epel and not ( 'production' in group_names or 'developement' in group_names)" } # This is for rhel7 pip
- common
- mesos_master
tasks:
# used to install kazoo
- name: Install pip
yum:
name: python-pip
name:
- python2-pip
- python-setuptools
state: present

- name: Install Kazoo (required by Znode ansible module)
pip:
name: kazoo
version: "2.6.1"
umask: "0022"
become: yes
39 changes: 39 additions & 0 deletions deploy/docker/centos6/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# based on https://github.com/smerrill/docker-vagrant-centos
FROM centos:centos6

RUN yum install -y sudo initscripts openssh-clients openssh-server

# https://github.com/dotcloud/docker/issues/1240#issuecomment-21807183
RUN echo "NETWORKING=yes" > /etc/sysconfig/network

# http://gaijin-nippon.blogspot.com/2013/07/audit-on-lxc-host.html
RUN sed -i -e '/pam_loginuid\.so/ d' /etc/pam.d/sshd

# Kill udev. (http://serverfault.com/a/580504/82874)
RUN echo " " > /sbin/start_udev

# No more requiretty for sudo. (Vagrant likes to run Puppet/shell via sudo.)
RUN sed -i 's/.*requiretty$/Defaults !requiretty/' /etc/sudoers

# Let this run as an unmodified Vagrant box.
RUN groupadd vagrant && \
useradd vagrant -g vagrant -G wheel && \
echo "vagrant:vagrant" | chpasswd && \
echo "vagrant ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/vagrant && \
chmod 0440 /etc/sudoers.d/vagrant

# Installing vagrant keys
RUN mkdir -pm 700 /home/vagrant/.ssh && \
echo "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key" > /home/vagrant/.ssh/authorized_keys && \
chmod 0600 /home/vagrant/.ssh/authorized_keys && \
chown -R vagrant /home/vagrant/.ssh

# Customize the message of the day
RUN echo 'Welcome to your Vagrant-built Docker container.' > /etc/motd

RUN yum install -y acl && \
yum clean all && \
rm -rf /var/cache/yum

EXPOSE 22
CMD ["/sbin/init"]
Loading