Skip to content

Commit

Permalink
Created a Dockerfile running ubuntu:latest
Browse files Browse the repository at this point in the history
  • Loading branch information
MolassesLover committed Aug 14, 2023
1 parent dc33698 commit 8e90ed1
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
FROM ubuntu:latest
WORKDIR /opt/workdir
# Cargo executables are installed here:
ENV PATH="$PATH:/home/workuser/.cargo/bin"
# Python executables are installed here:
ENV PATH="$PATH:/home/workuser/.local/bin"

RUN apt-get update
RUN apt-get install -y \
autopoint \
bash \
binutils \
bison \
cmake \
coreutils \
curl \
expat \
flex \
gcc \
gettext \
git \
gperf \
groff \
gzip \
help2man \
libgmp-dev \
m4 \
make \
mercurial \
meson \
mtools \
nasm \
openssl \
patch \
perl \
python3 \
python3-mako \
python3-pip \
rsync \
subversion \
tar \
texinfo \
wget \
xcb-proto \
xorriso \
xsltproc \
xz-utils
RUN useradd -m workuser

USER workuser
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN python3 -m pip install requests xbstrap
ENTRYPOINT python3 aero.py --no-run

0 comments on commit 8e90ed1

Please sign in to comment.