Files
pyenv/test/Dockerfile
admin b622f8abd2
Some checks are pending
macos_build / macos_build (3.10) (push) Waiting to run
macos_build / macos_build (3.11) (push) Waiting to run
macos_build / macos_build (3.12) (push) Waiting to run
macos_build / macos_build (3.13) (push) Waiting to run
macos_build / macos_build (3.14) (push) Waiting to run
pyenv_tests / pyenv_tests (macos-14) (push) Waiting to run
pyenv_tests / pyenv_tests (macos-15) (push) Waiting to run
pyenv_tests / pyenv_tests (macos-15-intel) (push) Waiting to run
pyenv_tests / pyenv_tests (macos-26) (push) Waiting to run
pyenv_tests / pyenv_tests (ubuntu-22.04) (push) Waiting to run
pyenv_tests / pyenv_tests (ubuntu-24.04) (push) Waiting to run
ubuntu_build / ubuntu_build (3.10) (push) Waiting to run
ubuntu_build / ubuntu_build (3.11) (push) Waiting to run
ubuntu_build / ubuntu_build (3.12) (push) Waiting to run
ubuntu_build / ubuntu_build (3.13) (push) Waiting to run
ubuntu_build / ubuntu_build (3.14) (push) Waiting to run
pyenv verification source
2026-05-22 16:45:42 +08:00

26 lines
679 B
Docker

ARG BASH
FROM alpine/git:v2.30.0 as bats
ARG BATS_VERSION
RUN git clone https://github.com/bats-core/bats-core.git /root/bats-core \
&& cd /root/bats-core \
&& git checkout "${BATS_VERSION}"
FROM bash:$BASH
# Gnu tools
RUN if [[ "${GNU:-}" == True ]];then \
apk add sed coreutils findutils \
;fi
# Bats
RUN apk add --update parallel ncurses git \
&& mkdir -p ~/.parallel \
&& touch ~/.parallel/will-cite
COPY --from=bats /root/bats-core /root/bats-core
RUN /root/bats-core/install.sh "/usr/local"
# Clean
RUN rm -rf /var/cache/apk/*
# Setup
RUN echo 'source /etc/profile' >> ~/.bashrc
WORKDIR /code/
CMD ["bash"]