-
-
Notifications
You must be signed in to change notification settings - Fork 209
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (17 loc) · 695 Bytes
/
Dockerfile
File metadata and controls
24 lines (17 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -q update
RUN apt-get purge -q -y snapd lxcfs lxd ubuntu-core-launcher snap-confine
RUN apt-get -q -y install file wget cpio rsync locales \
build-essential libncurses5-dev python3-setuptools \
git bzr cvs mercurial subversion libc6 unzip bc \
vim
RUN apt-get -q -y autoremove && apt-get -q -y clean
RUN update-locale LC_ALL=C
RUN useradd -ms /bin/bash buildroot
RUN mkdir -p /app/buildroot/dl && chown -R buildroot:buildroot /app/buildroot/dl
RUN mkdir -p /app/buildroot/output && chown -R buildroot:buildroot /app/buildroot/output
VOLUME /app/buildroot/dl
VOLUME /app/buildroot/output
USER buildroot
CMD /bin/bash