]> git.madduck.net Git - etc/vim.git/blob - Dockerfile

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Deprecate Python 2 formatting support (#2523)
[etc/vim.git] / Dockerfile
1 FROM python:3-slim
2
3 # TODO: Remove regex version pin once we get newer arm wheels
4 RUN mkdir /src
5 COPY . /src/
6 RUN pip install --no-cache-dir --upgrade pip setuptools wheel \
7     && apt update && apt install -y git \
8     && cd /src \
9     && pip install --no-cache-dir regex==2021.10.8 \
10     && pip install --no-cache-dir .[colorama,d] \
11     && rm -rf /src \
12     && apt remove -y git \
13     && apt autoremove -y \
14     && rm -rf /var/lib/apt/lists/*
15
16 CMD ["black"]