You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2021. It is now read-only.
in Dockerfile add after line 12 COPY tools tools/ RUN /usr/local/go/bin/go run ./tools/genstatic.go public public
and in .dockerignore file remove tools
now when you compile a docker image, the zz_generated.static.go file is regenerated based on the changes made in the public folder
gionko
changed the title
Compiling issue
Compiling issue - edit any files in public folder not have effect in compiling docker image
Oct 14, 2021
gionko
changed the title
Compiling issue - edit any files in public folder not have effect in compiling docker image
Compiling issue - modifying any files in the public folder has no effect when compiling the docker image
Oct 14, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
i have clone your git hub repo
https://github.com/criticalstack/quake-kube.git
and edit the file
quake-kube/public/index.html
adding this lines
args.push.apply(args, ['+set', 'cg_drawfps', '"1"'])
args.push.apply(args, ['+set', 'cg_fov', '"115"'])
after line 142.
but after compiling the docker image, the changes have no effect. Compilation is successful.
In directory
quake-kube/public/
it's file called zz_generated.static.go and inside is (line 217):
"/index.html": &vfsgen۰CompressedFileInfo{ name: "index.html", modTime: time.Time{}, uncompressedSize: 6166, compressedContent: []byte("\x1f\x8b\x08\... ...\x00\x00"),
perhaps the index.html file is not recompressed and converted. How can I solve?
The text was updated successfully, but these errors were encountered: