GateOne icon indicating copy to clipboard operation
GateOne copied to clipboard

Docker fixes

Open ashmckenzie opened this issue 6 years ago • 5 comments

I noticed the Docker image was also affected by https://github.com/liftoff/GateOne/issues/689, so I set about fixing :)

ashmckenzie avatar Mar 15 '18 00:03 ashmckenzie

hello, I build success, but when I use ,the docker container exit!!!

panghaichao avatar Mar 23 '18 02:03 panghaichao

@panghaichao You need modify the Dockerfile.

When build docker image, it's clone from github now, should copy files from local repo.

zerda avatar Apr 25 '18 05:04 zerda

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.

bittner avatar Jul 26 '18 05:07 bittner

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')

bittner avatar Jul 26 '18 05:07 bittner

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/

dcwangmit01 avatar Dec 21 '18 04:12 dcwangmit01