You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
423 B
17 lines
423 B
FROM ubuntu:18.04
|
|
ARG userid
|
|
ARG groupid
|
|
ARG username
|
|
ARG ltproot
|
|
|
|
RUN apt-get update && apt-get install -y python autoconf build-essential libssl-dev
|
|
|
|
# Set up the user so that files are owned by the proper user
|
|
RUN groupadd -g $groupid $username \
|
|
&& useradd -m -u $userid -g $groupid $username
|
|
RUN mkdir -p $ltproot && chown $userid $ltproot
|
|
ENV LTP_ROOT=$ltproot
|
|
USER $username
|
|
|
|
CMD /src/android/tools/docker_entry.sh
|