forked from Thomas-Tsai/partclone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
16 lines (15 loc) · 1.05 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM ubuntu:latest
MAINTAINER Thomas-Tsai <[email protected]>
RUN sed -i s/archive.ubuntu.com/free.nchc.org.tw/g /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y f2fs-tools hfsprogs exfatprogs gddrescue libfuse-dev jfsutils reiser4progs hfsprogs hfsplus reiserfsprogs btrfs-progs wget gnupg2 git
RUN echo '# drbl repository' >> /etc/apt/sources.list
RUN echo 'deb http://free.nchc.org.tw/drbl-core drbl stable testing unstable dev' >> /etc/apt/sources.list
RUN echo 'deb-src http://free.nchc.org.tw/drbl-core drbl stable testing unstable dev' >> /etc/apt/sources.list
RUN wget http://drbl.nchc.org.tw/GPG-KEY-DRBL -O - | apt-key add -
RUN apt-get update
RUN apt-get -y build-dep partclone
RUN git clone https://github.com/Thomas-Tsai/partclone.git /partclone
WORKDIR /partclone
RUN ./autogen && ./configure --enable-fs-test --enable-feature-test --enable-extfs --enable-ntfs --enable-fat --enable-exfat --enable-hfsp --enable-apfs --enable-btrfs --enable-minix --enable-f2fs --enable-reiser4 --enable-xfs && make && make install
WORKDIR /partclone/tests