• Ian Stuart's picture

    Pip install from git in Docker

    Ian Stuart / March 31, 2015

    Following on from my article about pip installing development code, I thought I'd also share the various ways of installing from a get server.

    Installing from a GitLab commit-point

    • You may need to have a deploy token, or username & password for the repo
    • You need to have set up the setup code in the repo being installed

    In the Dockerfile, install from the commit SHA code:

    Read more
  • Ian Stuart's picture

    Adding a text-string as a file to a gzip'd file

    Ian Stuart / March 31, 2015

    I had reason to add a timestamp file to an archive - a nice simple file, with the time of creating as a single line, so nothing complicated..... but this is python, and there are more solutions out there than I've had hot dinners (well, maybe not - but certainly more than I've had Vindaloo curries.)

    None of them worked for me.

    I don't think that my archive was an in-memory "file"

    This does:

    Read more