Skip to content

Commit

Permalink
fix dockerfile?
Browse files Browse the repository at this point in the history
  • Loading branch information
noahp committed Mar 22, 2024
1 parent b7d2f6e commit d79dd3c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-22.04

container:
image: ghcr.io/noahp/emoji-fzf:2022-12-05
image: ghcr.io/noahp/emoji-fzf:2024-03-22
# we need to be root for checkout to work without pain
options: "--entrypoint='' --user=root"

Expand Down
11 changes: 4 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

# pyenv
RUN git clone --branch v2.3.7 https://github.com/pyenv/pyenv.git /pyenv
COPY .python-version /tmp/.python-version
RUN git clone https://github.com/pyenv/pyenv.git /pyenv && cd /pyenv && git checkout 7e550e31f749ce3cda067644de44b18be761470b
ENV PYENV_ROOT /pyenv
RUN /pyenv/bin/pyenv install 3.7.15
RUN /pyenv/bin/pyenv install 3.8.15
RUN /pyenv/bin/pyenv install 3.9.15
RUN /pyenv/bin/pyenv install 3.10.8
RUN /pyenv/bin/pyenv install 3.11.0
RUN /pyenv/bin/pyenv install --skip-existing $(tr '\n' ' ' < /tmp/.python-version)

ENV PATH=/pyenv/bin:${PATH}

# Python requirements
RUN pip3 install --no-cache-dir \
tox==3.26.0 \
tox==3.28.0 \
tox-pyenv==1.1.0
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[![Code style:
black](https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge)](https://github.com/ambv/black)
[![GitHub Workflow
Status](https://img.shields.io/github/actions/workflow/status/noahp/emoji-fzf/main.yml?branch=main&style=for-the-badge)](https://github.com/noahp/emoji-fzf/actions)
[![PyPI
Expand Down

0 comments on commit d79dd3c

Please sign in to comment.