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

make docker image smaller #24

Merged
merged 2 commits into from Oct 7, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions package/Dockerfile
@@ -1,9 +1,9 @@
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y kmod curl nfs-common fuse \
libibverbs1 librdmacm1 libconfig-general-perl libaio1
libibverbs1 librdmacm1 libconfig-general-perl libaio1 && rm -rf /var/lib/apt/lists/*
Copy link
Contributor

@kmova kmova Oct 7, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @circa10a -- this is good.
Can we make a small change to push this to the next line with \


COPY longhorn launch copy-binary launch-with-vm-backing-file launch-simple-jiva /usr/local/bin/
COPY tgt_*.deb /opt/
RUN dpkg -i /opt/tgt_*.deb
RUN dpkg -i /opt/tgt_*.deb && rm /opt/tgt_*.deb
VOLUME /usr/local/bin
CMD ["longhorn"]