-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathContainerfile
More file actions
41 lines (33 loc) · 1016 Bytes
/
Containerfile
File metadata and controls
41 lines (33 loc) · 1016 Bytes
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
FROM docker.io/eclipse-temurin:26-jdk@sha256:2784bd6a3c45161c142eb7cb07dbcde4a45476ba8443920741f31d3d84178fdc
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
&& dpkg --add-architecture i386 \
&& apt update \
&& apt install -q -y bison \
bc \
curl \
flex \
g++-multilib \
git \
gperf \
liblz4-tool \
libssl-dev \
libxml2-utils \
make \
msmtp \
python-is-python3 \
rsync \
zip \
zlib1g-dev zlib1g-dev:i386 \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*
COPY container/msmtprc /etc/msmtprc
USER ubuntu
RUN git config --global user.email "ubuntu@example.com" \
&& git config --global user.name "ubuntu"
RUN mkdir ~/bin \
&& curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo \
&& chmod a+x ~/bin/repo \
&& echo 'export PATH=~/bin:$PATH' >> ~/.bashrc
ENV PATH=~/bin:$PATH
WORKDIR /script
COPY . .