-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Containerfile
41 lines (33 loc) · 1016 Bytes
/
Containerfile
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:23-jdk@sha256:c2a3aba09776fa7f1cefde64f318bd496867403571ceb29a67a763a87b705b33
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 . .