forked from gmacario/easy-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (18 loc) · 777 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# ===========================================================================================
# Projetc: easy-build
#
# Description: Base Docker image for building embedded distros
# ===========================================================================================
FROM ubuntu:18.04
# Make sure the package repository is up to date, then install required packages
RUN apt-get update && \
apt-get -y upgrade && \
apt-get install -y git mc tig tree
# Create non-root user that will perform the build of the images
RUN useradd --shell /bin/bash build && mkdir -p /home/build && chown -R build /home/build
# Leave derived dockerfiles to download source repositories
# RUN cd /home/build
# Run as the following user
# USER daemon
ENTRYPOINT ["/bin/bash"]
# EOF