diff options
author | Russell Currey <ruscur@russell.cc> | 2019-05-01 16:27:17 +1000 |
---|---|---|
committer | Daniel Axtens <dja@axtens.net> | 2019-05-03 16:12:50 +1000 |
commit | 1ed898a9a8e52b72978dfa4d69c97f649f048d6d (patch) | |
tree | 446739d469176e70aea0d091002dd1a818f48b26 /docs/development | |
parent | c56683dd8a738de544eeba137bf4ca12a5523054 (diff) | |
download | patchwork-1ed898a9a8e52b72978dfa4d69c97f649f048d6d.tar patchwork-1ed898a9a8e52b72978dfa4d69c97f649f048d6d.tar.gz |
docker: Use Ubuntu ports repositories on non-x86 architectures
This should allow Patchwork to run "out of the box" in Docker on any
architecture with a) an Ubuntu port and b) support in the Postgres
multiarch Docker image, which includes at least arm64 and ppc64le.
It's a little gross hacking the Dockerfile like this, but I'm not sure
there's a more elegant way to do it. Unfortunately it doesn't seem like
there's any way to do conditional COPY, and anything in RUN is plain
/bin/sh, so that's why it looks like it does.
Tested on ppc64le and on x86_64.
Signed-off-by: Russell Currey <ruscur@russell.cc>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Diffstat (limited to 'docs/development')
0 files changed, 0 insertions, 0 deletions