Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / alpine-edge / Dockerfile.in
1 FROM alpine:%%os_version%%
2 COPY install-deps.sh /root/
3 COPY APKBUILD.in /root/alpine/APKBUILD.in
4 RUN apk --update --no-cache add bash sudo
5 RUN if test %%USER%% != root ; then adduser -D -H -u %%user_id%% %%USER%% && echo '%%USER%% ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers ; fi
6 # build dependencies
7 RUN cd /root ; ./install-deps.sh
8