mirror of https://github.com/rusefi/rusefi-ci.git
commit
4532cd80c1
|
@ -24,7 +24,7 @@ FROM ubuntu:22.04 AS actions-runer
|
||||||
COPY --from=builder /opt /opt
|
COPY --from=builder /opt /opt
|
||||||
COPY --from=builder /build/gcc-arm-none-eabi-9-2020-q2-update/bin /bin
|
COPY --from=builder /build/gcc-arm-none-eabi-9-2020-q2-update/bin /bin
|
||||||
|
|
||||||
RUN useradd -m docker &&\
|
RUN useradd -m -g sudo docker &&\
|
||||||
apt-get update -y &&\
|
apt-get update -y &&\
|
||||||
DEBIAN_FRONTEND=noninteractive /opt/actions-runner/bin/installdependencies.sh && \
|
DEBIAN_FRONTEND=noninteractive /opt/actions-runner/bin/installdependencies.sh && \
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||||
|
@ -42,7 +42,14 @@ RUN useradd -m docker &&\
|
||||||
xxd \
|
xxd \
|
||||||
usbutils \
|
usbutils \
|
||||||
openocd \
|
openocd \
|
||||||
|
sudo \
|
||||||
|
ruby-rubygems \
|
||||||
|
time \
|
||||||
|
lsb-release \
|
||||||
|
wget \
|
||||||
&& apt-get autoremove -y && apt-get clean -y &&\
|
&& apt-get autoremove -y && apt-get clean -y &&\
|
||||||
|
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers &&\
|
||||||
|
echo 'APT::Get::Assume-Yes "true";' >/etc/apt/apt.conf.d/90forceyes &&\
|
||||||
chown -R docker /opt
|
chown -R docker /opt
|
||||||
|
|
||||||
WORKDIR /opt
|
WORKDIR /opt
|
||||||
|
|
Loading…
Reference in New Issue