-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile.yocto
More file actions
76 lines (69 loc) · 1.3 KB
/
Dockerfile.yocto
File metadata and controls
76 lines (69 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
FROM ubuntu:18.04
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
apt-utils \
bison \
ca-certificates \
ccache \
check \
curl \
flex \
git \
git-core \
gperf \
lcov \
libncurses-dev \
libusb-1.0-0-dev \
make \
ninja-build \
python3 \
unzip \
wget \
xz-utils \
zip \
python \
python3-pip \
python3-pexpect \
python3-git \
python3-jinja2 \
libegl1-mesa \
libsdl1.2-dev \
locales \
locales-all \
chrpath \
cpio \
diffstat \
gawk \
texinfo \
iputils-ping \
python3-distutils \
gcc-multilib \
build-essential \
socat \
debianutils \
pylint3 \
xterm \
vim \
rsync \
bc \
tmux \
git-lfs \
liblz4-tool \
zstd \
ca-certificates \
parted \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV USER_NAME dev
ARG host_uid=1000
ARG host_gid=1000
RUN groupadd -g $host_gid $USER_NAME && \
useradd -g $host_gid -m -s /bin/bash -u $host_uid $USER_NAME
USER dev
WORKDIR /home/dev
RUN mkdir /home/dev/bin
RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /home/dev/bin/repo
RUN chmod a+x /home/dev/bin/repo