d5f3b55544
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m12s
modified: ci/Dockerfile.gitian-builder modified: ci/matrix.sh modified: ci/test_unittests.sh modified: test/README.md
17 lines
466 B
Docker
17 lines
466 B
Docker
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 |