forked from danielpmc/AIO
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
45 lines (34 loc) · 1.08 KB
/
Dockerfile
File metadata and controls
45 lines (34 loc) · 1.08 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
FROM debian:buster
MAINTAINER danielpmc, <danielpd93@gmail.com>
RUN apt update \
&& apt upgrade -y \
&& apt -y install curl software-properties-common locales git \
&& apt-get install -y default-jre \
&& useradd -d /home/container -m container \
&& apt-get update
# Grant sudo permissions to container user for commands
RUN apt-get update && \
apt-get -y install sudo
# Ensure UTF-8
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
# NodeJS
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \
&& apt -y install nodejs \
&& apt -y install ffmpeg \
&& apt -y install make \
&& apt -y install build-essential \
&& apt -y install wget \
&& apt -y install curl
# Install basic software support
RUN apt-get update && \
apt-get install --yes software-properties-common
# Python 2 & 3
RUN apt -y install python python-pip python3 python3-pip
USER container
ENV USER container
ENV HOME /home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]