• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1FROM ubuntu:18.04
2ARG userid
3ARG groupid
4ARG username
5ARG ltproot
6
7RUN apt-get update && apt-get install -y python autoconf build-essential libssl-dev
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