forked from gmacario/easy-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
27 lines (19 loc) · 834 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
26
27
# ===========================================================================================
# Projetc: easy-build
#
# Description: Base Docker imaeg for building embedded distros
# ===========================================================================================
FROM gmacario/baseimage-ssh:latest
MAINTAINER Gianpaolo Macario <[email protected]>
# Make sure the package repository is up to date
RUN apt-get update && apt-get -y upgrade
# Install required packages
RUN 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