xref: /aosp_15_r20/external/ltp/android/tools/Dockerfile (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1FROM ubuntu:20.04
2ARG userid
3ARG groupid
4ARG username
5ARG ltproot
6
7RUN apt-get update && apt-get install -y python autoconf build-essential libssl-dev pkgconf
8
9# Set up the user so that files are owned by the proper user
10RUN groupadd -g $groupid $username \
11 && useradd -m -u $userid -g $groupid $username
12RUN mkdir -p $ltproot && chown $userid $ltproot
13ENV LTP_ROOT=$ltproot
14USER $username
15
16CMD /src/android/tools/docker_entry.sh
17