neobytes/ci/Dockerfile.gitian-builder

17 lines
466 B
Docker
Raw Normal View History

FROM ubuntu:bionic
RUN apt-get update && apt-get install -y \
ruby curl make libltdl7 git apache2 apt-cacher-ng python-vm-builder ruby qemu-utils \
&& rm -rf /var/lib/apt/lists
ARG USER_ID=1000
ARG GROUP_ID=1000
# add user with specified (or default) user/group ids
ENV USER_ID ${USER_ID}
ENV GROUP_ID ${GROUP_ID}
RUN groupadd -g ${GROUP_ID} neobytes
RUN useradd -u ${USER_ID} -g neobytes -s /bin/bash -m -d /neobytes neobytes
WORKDIR /neobytes
USER neobytes