blob: 2ffed1c1c39e985fd062874bce52eed39df234b6 (
plain)
1
2
3
4
5
6
7
8
|
FROM alpine:%%os_version%%
COPY install-deps.sh /root/
COPY APKBUILD.in /root/alpine/APKBUILD.in
RUN apk --update --no-cache add bash sudo
RUN if test %%USER%% != root ; then adduser -D -H -u %%user_id%% %%USER%% && echo '%%USER%% ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers ; fi
# build dependencies
RUN cd /root ; ./install-deps.sh
|