-
Notifications
You must be signed in to change notification settings - Fork 99
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
IPMI network allocations API with pool support #513
Changes from all commits
2c7472d
c227388
2251a88
aa8dbf9
e776ef7
7eca964
d8cd16c
0fe2798
5e36c6a
d57c31c
d0f8557
657c242
ef901dc
7b616df
e474d8a
961c5ae
baeeccd
1391290
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,12 +1,12 @@ | ||
FROM java:8-jre | ||
FROM openjdk:8-jre | ||
MAINTAINER Gabe Conradi <[email protected]> | ||
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. probably should change the MAINTAINER to [email protected] 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. Is that alias accessible from outside the company? I thought there was a public maintainers mailing list for collins? |
||
|
||
# Solr cores should be stored in a volume, so we arent writing stuff to our rootfs | ||
VOLUME /opt/collins/conf/solr/cores/collins/data | ||
|
||
COPY . /build/collins | ||
RUN apt-get update && \ | ||
apt-get install --no-install-recommends -y openjdk-8-jdk zip unzip ipmitool && \ | ||
apt-get install --no-install-recommends -y openjdk-8-jdk openjdk-8-jdk-headless zip unzip ipmitool && \ | ||
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. isn't openjdk-8-jdk-headless already installed in the base image? 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. no, this is the JRE image. We install only the JDK for the duration of the build, then remove it 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. does line 47 of https://github.com/docker-library/openjdk/blob/445f8b8d18d7c61e2ae7fda76d8883b5d51ae0a5/8-jre/Dockerfile#L47 already install it? 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. Nah, thats only JRE. We need JDK for the build |
||
rm -r /var/lib/apt/lists/* && \ | ||
cd /build && \ | ||
export ACTIVATOR_VERSION=1.3.7 && \ | ||
|
@@ -19,7 +19,7 @@ RUN apt-get update && \ | |
cd / && rm -rf /build && \ | ||
rm -rf /root/.ivy2 && \ | ||
rm -rf /root/.sbt && \ | ||
apt-get remove -y --purge openjdk-8-jdk && \ | ||
apt-get remove -y --purge openjdk-8-jdk openjdk-8-jdk-headless && \ | ||
apt-get autoremove --purge -y && \ | ||
apt-get clean && \ | ||
rm /var/log/dpkg.log | ||
|
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.
Have you though of using openjdk:8-jre-alpine ?
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.
It uses muscl instead of glibc, and didnt want to take a chance of breaking something. Plus, for downstream consumers, they expect to be able to
apt-get install
stuff for collins to hook into. We could maintain 2 different Dockerfiles that produces a debian and alpine build, but probably outside the scope of this diff