Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IT-division Public
dockerimages
centosfpmcookery
Commits
46822f0f
Commit
46822f0f
authored
Nov 26, 2020
by
Torstein Leversund
Browse files
use centos ruby25 image and do some cleanup
parent
6bb26c2c
Pipeline
#47100
passed with stage
in 7 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
46822f0f
FROM
centos:7
FROM
centos/ruby-25-centos7
RUN
scl
enable
rh-ruby25
"gem install -N fpm-cookery"
USER
root
RUN
yum
-y
install
epel-release
RUN
curl
-sL
https://rpm.nodesource.com/setup_10.x | bash -
RUN
yum
-y
update
RUN
yum
-y
install
\
ansible
\
gcc
\
gcc-c++
\
git
\
make
\
nodejs
\
openssh-clients
\
openssl
\
rpm-build
\
rsync
\
wget
\
which
\
&&
yum clean all
RUN
yum
-y
update
\
&&
yum
-y
install
ruby
\
&&
curl
-sL
https://rpm.nodesource.com/setup_10.x | bash -
\
&&
yum
-y
install
nodejs epel-release openssl rpm-build rsync which git
\
&&
yum
-y
install
ruby-devel gcc gcc-c++ make rubygems rake openssh-clients wget
\
&&
yum
-y
install
ansible
\
&&
gem
install
-N
fpm-cookery
\
&&
yum
-y
update
&&
yum clean all
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment