mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 04:18:10 +00:00
ci: add git filter repo to base image
This commit is contained in:
parent
2c2474db07
commit
b35e6ca5c4
@ -10,6 +10,8 @@ ADD alpine-minirootfs-${ALPINE_VERSION}-${ALPINE_ARCH}.tar.gz /
|
|||||||
# Enable HTTPS support in wget and set nsswitch.conf to make resolution work within containers
|
# Enable HTTPS support in wget and set nsswitch.conf to make resolution work within containers
|
||||||
RUN apk add --no-cache --update openssl \
|
RUN apk add --no-cache --update openssl \
|
||||||
&& echo hosts: files dns > /etc/nsswitch.conf
|
&& echo hosts: files dns > /etc/nsswitch.conf
|
||||||
|
# Add basic packages
|
||||||
|
RUN apk update && apk add bash git python3
|
||||||
|
|
||||||
# Download Nix and install it into the system.
|
# Download Nix and install it into the system.
|
||||||
ARG NIX_VERSION=2.4
|
ARG NIX_VERSION=2.4
|
||||||
@ -38,6 +40,9 @@ ENV \
|
|||||||
|
|
||||||
COPY shell.nix shell.nix
|
COPY shell.nix shell.nix
|
||||||
COPY pyright/ pyright/
|
COPY pyright/ pyright/
|
||||||
|
# add and install git-filter-repo for common sync job
|
||||||
|
COPY common_sync/git-filter-repo git-filter-repo
|
||||||
|
RUN mv git-filter-repo $(git --exec-path)
|
||||||
|
|
||||||
# to make multiple python versions and monero test suite available, run docker build
|
# to make multiple python versions and monero test suite available, run docker build
|
||||||
# with the following argument: "--build-arg FULLDEPS_TESTING=1"
|
# with the following argument: "--build-arg FULLDEPS_TESTING=1"
|
||||||
|
Loading…
Reference in New Issue
Block a user