forked from AetherRadio/X6100Buildroot
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Dockerfile
32 lines (24 loc) · 878 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
28
29
30
31
32
# Base image (last LTS)
FROM ubuntu:latest
# Set apt-get to non-interactive
ARG DEBIAN_FRONTEND=noninteractive
# For when tzdata gets installed
ENV TZ=UTC
# Update the system
RUN apt-get update && apt-get upgrade -y
# Set the correct locale
RUN apt-get install -y locales
RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8
# Install dependencies (but not asciidoc because it wants to install LaTeX)
RUN apt-get install -y git build-essential wget cpio unzip rsync bc \
libncurses5 libncurses5-dev libncursesw5-dev screen file cmake \
python3 python3-dev python3-setuptools python3-pip
# Make a working dir
WORKDIR /workspace
# Copy project files
COPY . ./
# Make entrypoint executable
RUN chmod +x entrypoint.sh
# Give it a (replaceable) entrypoint
ENTRYPOINT ["./entrypoint.sh"]