|
|
|
@ -219,4 +219,11 @@ RUN wget -q http://mirrors.kernel.org/ubuntu/pool/universe/p/patchelf/patchelf_0
|
|
|
|
|
RUN mkdir /var/run/sshd && echo 'root:root' | chpasswd && sed -ri 's/^PermitRootLogin\s+.*/PermitRootLogin yes/' /etc/ssh/sshd_config && sed -ri 's/UsePAM yes/#UsePAM yes/g' /etc/ssh/sshd_config
|
|
|
|
|
CMD source ~/.bashrc
|
|
|
|
|
|
|
|
|
|
# ccache 3.7.9
|
|
|
|
|
RUN wget https://paddle-ci.gz.bcebos.com/ccache-3.7.9.tar.gz && \
|
|
|
|
|
tar xf ccache-3.7.9.tar.gz && mkdir /usr/local/ccache-3.7.9 && cd ccache-3.7.9 && \
|
|
|
|
|
./configure -prefix=/usr/local/ccache-3.7.9 && \
|
|
|
|
|
make -j8 && make install && \
|
|
|
|
|
ln -s /usr/local/ccache-3.7.9/bin/ccache /usr/local/bin/ccache
|
|
|
|
|
|
|
|
|
|
EXPOSE 22
|
|
|
|
|