-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created a Dockerfile running
ubuntu:latest
- Loading branch information
1 parent
dc33698
commit 8e90ed1
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |