Initial commit
This commit is contained in:
parent
983d71f54b
commit
a9c4ed4f3a
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for alpine-builder
|
||||||
|
#
|
||||||
|
FROM alpine:3.5
|
||||||
|
LABEL maintainer "jar3b <hellotan@live.ru>"
|
||||||
|
RUN apk add --no-cache alpine-sdk libressl-dev mariadb-dev postgresql-dev gdbm-dev readline-dev bash libtool autoconf \
|
||||||
|
automake perl-dev python2-dev openldap-dev krb5-dev unixodbc-dev linux-pam-dev sqlite-dev talloc-dev libpcap-dev \
|
||||||
|
linux-headers curl-dev hiredis-dev json-c-dev
|
||||||
|
RUN adduser -D builder \
|
||||||
|
&& echo "builder:123" | chpasswd \
|
||||||
|
&& echo "builder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers \
|
||||||
|
&& addgroup builder abuild \
|
||||||
|
&& chgrp abuild /var/cache/distfiles \
|
||||||
|
&& chmod g+w /var/cache/distfiles \
|
||||||
|
&& su -c "abuild-keygen -a -i -n" builder \
|
||||||
|
&& mkdir /projects
|
||||||
|
WORKDIR /projects
|
Loading…
x
Reference in New Issue
Block a user