-
Notifications
You must be signed in to change notification settings - Fork 2
Migrate system-builder to Ruby 2.5 #15
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM centos/ruby-24-centos7 | ||
FROM centos/ruby-25-centos7 | ||
|
||
ENV BUNDLER_VERSION="1.17.3" \ | ||
OPENRESTY_VERSION=1.11.2.1 \ | ||
|
@@ -10,7 +10,6 @@ ARG DB=mysql | |
ENV PATH="./node_modules/.bin:$PATH:/usr/local/nginx/sbin/:/usr/local/luajit/bin/" \ | ||
DISPLAY=:99.0 \ | ||
SKIP_ASSETS="1" \ | ||
RAILS_ENV=test \ | ||
TZ=:/etc/localtime \ | ||
LD_LIBRARY_PATH=/opt/oracle/instantclient_12_2/ \ | ||
ORACLE_HOME=/opt/oracle/instantclient_12_2/ \ | ||
|
@@ -30,6 +29,7 @@ RUN yum install -y git \ | |
make \ | ||
sudo \ | ||
rh-nodejs8 \ | ||
file \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @duduribeiro not that it's a problem or anything, just wondering why this is needed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @gsaslis we need it since ImageMagick uses it to verify if a file is an image or not. our ruby-24-centos image had it, but it was removed from ruby-25-centos. |
||
&& echo 'default ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers | ||
|
||
RUN echo --color > ~/.rspec \ | ||
|
@@ -109,5 +109,3 @@ VOLUME [ "/opt/system/tmp/cache/", \ | |
USER default | ||
|
||
ENTRYPOINT ["container-entrypoint"] | ||
|
||
CMD ["script/jenkins.sh"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would use UBI instead of RHSCL CentOS
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. 👍
registry.access.redhat.com/rhscl/ruby-25-rhel7:2.5
is UBI-based. let's go for that?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gsaslis we tried but without success 😞
Our system-builder needs a lot of xdg- packages to have chrome installed on it to be used on CI stuffs. UBI images don't have it and neither the package available to install. We can install it using centos packages but we can't guarantee to not make a mess in the packaging stuff of RHEL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@duduribeiro do you have that list of packages missing from UBI images handy anywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gsaslis AFAIK, these: