4ce0a06ed5
From Vagrantfile: It's just easier to have ssh set up as root from the start so that tests don't need to sudo, which can sometimes cause issues. If we need to test any unprivileged things, we can still just sudo back into the vagrant user. Closes: #344 Approved by: cgwalters
10 lines
548 B
Ruby
10 lines
548 B
Ruby
FROM centos/tools
|
|
ADD atomic-centos-continuous.repo /etc/yum.repos.d/atomic-centos-continuous.repo
|
|
RUN yum -y install yum-plugin-priorities sudo && \
|
|
yum -y install bash bzip2 coreutils cpio diffutils system-release findutils gawk gcc gcc-c++ \
|
|
grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux \
|
|
which xz python gcc \
|
|
&& yum-builddep -y rpm-ostree
|
|
LABEL RUN "/usr/bin/docker run --privileged -ti -v /var/roothome:/root -v /etc:/host/etc -v /usr:/host/usr \${IMAGE}"
|
|
WORKDIR /root/sync
|