GateOne
GateOne copied to clipboard
Docker fixes
I noticed the Docker image was also affected by https://github.com/liftoff/GateOne/issues/689, so I set about fixing :)
hello, I build success, but when I use ,the docker container exit!!!
@panghaichao You need modify the Dockerfile.
When build docker image, it's clone from github now, should copy files from local repo.
Can we merge this PR? This would be super-helpful. The Docker image will be built automatically, IIUC.
Maybe the image size also gets reduced by this, automagically, as suggested in #691.
NOTE: setup.py
should probably read in requirements.txt
after this PR is merged.
That would be sufficient:
def read_file(filename):
with open(filename) as thefile:
return thefile.read()
requires = read_file('requirements.txt')
This PR, in addition to pinning the Dockerfile image is required to make building this repo work.
FROM ubuntu:xenial
Until this repo starts getting maintained again, I've setup a Docker hub autobuild with this PR.
https://hub.docker.com/r/dcwangmit01/gateone/