1. Move the generated file to handlers - it better belongs there
2. Ensure that all file serves are also handled by the asset store
Co-authored-by: Marcos Lilljedahl <marcosnils@gmail.com>
Generate these assets in config because this package is imported by
most.
Add internal/addgenheader as a simple helper because go-bindata doesn't
output the write header.
Also update test CI workflow to regenerate and check commit is clean.
Earlier versions transitively depend on a version of
github.com/matttproud/golang_protobuf_extensions which depends on the
now non-existent github.com/golang/protobuf/proto/testdata (breaking
change).
This is a small step towards making the running of PWD more efficient.
Building the parts of PWD outside of a container is always going to be
far more efficient than inside (and saves mapping of caches etc).
As a later step we could move entirely to this approach and use a
smaller image for running PWD.
Currently container instances are hard-coded to join a single network,
the network associated with the session.
This change allows the caller of CreateInstance to specify which
additional networks should be joined. This is useful, for example, when
a container instance requires access to additional "backend" services
that may be running.
There are security implications associated with this change, hence the
additional networks are only joined when a new -unsafe flag is
specified. It is hoped the name is a sufficient indicator that thought
needs to go into using it.
Move away from using dep to use Go modules which is production ready as
of 1.14.
Also tidy up README to make instructions for local development clearer
Fixes#385
This workflow does nothing, but we need an initial workflow in place in
order to be able to iterate and test with changes to that workflow in
later PRs. Hence we commit a simple "Hello, World!" workflow for now
that will be refined in later PRs.