Dockerfile.focal (drbd-9.1.8) | : | Dockerfile.focal (drbd-9.1.9) | ||
---|---|---|---|---|
FROM ubuntu:focal | FROM ubuntu:focal | |||
# note: py2 setuptools are a bit smaller than the py3 ones | # note: py2 setuptools are a bit smaller than the py3 ones | |||
RUN apt-get update && apt-get install -y kmod gnupg wget make gcc patch curl && \ | RUN apt-get update && apt-get install -y kmod gnupg wget make gcc patch elfutils curl && \ | |||
apt-get install -y python-setuptools && apt-get clean && \ | apt-get install -y python-setuptools && apt-get clean && \ | |||
cd /tmp && wget https://github.com/LINBIT/python-lbdist/archive/master.ta r.gz && \ | cd /tmp && wget https://github.com/LINBIT/python-lbdist/archive/master.ta r.gz && \ | |||
tar xvf master.tar.gz && \ | tar xvf master.tar.gz && \ | |||
( cd python-lbdist-master && python2 setup.py install ) && \ | ( cd python-lbdist-master && python2 setup.py install ) && \ | |||
rm -rf python-lbdist-master master.tar.gz | rm -rf python-lbdist-master master.tar.gz | |||
COPY /drbd.tar.gz / | COPY /drbd.tar.gz / | |||
COPY /pkgs /pkgs | COPY /pkgs /pkgs | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |