I started with this Dockerfile:
FROM python:2.7
RUN pip install bzr
# Um, the following line might not actually do anything useful,
# possibly because we just installed bzr via pip instead of apt-get.
RUN apt-get update && apt-get --assume-yes install bzr-fastimport
RUN pip install fastimportAnd made this docker-compose.yml:
version: '2'
services:
app:
build: .
volumes:
- .:/app
working_dir: /appThen I ran docker-compose run app bash and once inside had to manually install
bzr-fastimport
(for some reason pip install bzr-fastimport didn't work, and uh, I
guess the apt-get install bzr-fastimport didn't really do anything either) by checking out its
repository via bzr and then running python setup.py install in it.
Then I followed the instructions from migrating to git.