codersos / image-creator-server Goto Github PK
View Code? Open in Web Editor NEWA docker service to create images.
Home Page: https://hub.docker.com/r/codersos/image-creator-server/
License: GNU Affero General Public License v3.0
A docker service to create images.
Home Page: https://hub.docker.com/r/codersos/image-creator-server/
License: GNU Affero General Public License v3.0
There should be a server running somewhere. We can note down which servers run here:
https://github.com/CodersOS/create/blob/master/_data/build-servers.yml
The API defines the /status
path. This should be implemented.
There are ways to create a multithreaded bottle server.
This allows downloading an image and also requesting status at the same time.
When a new server docker image is built, the servers can be notified.
The server has access to itself via the docker socket ->
allow this as an option to create fast-updating servers.
When the app shuts down, it should be possible to delete the images.
Currently, we get an error because some used modules are already garbage collected.
The iso files are temporary files.
In the docker container, it should be possible to put them into a volume.
This may change the ids since they now depend persistent state.
The Containers should time out in iso creation after about 2 hours and be deleted.
/ should be a website. maybe we redirect to codersos.github.io/create or show something useful.
There are several possibilities to start the server.
Maybe we can use some of these: https://github.com/loklak/loklak_server#how-do-i-install-loklak-download-build-run
When downloaded now, text/html is assumed, causing firefox to load a huge website.
Fix: the content type.
Hint: this can be done by using the static_file
function. It also allows caching.
Create a docker-compose.yml file to run the server as an example and help for others to set it up more quickly.
The build numbers should be random so one can build private information with it.
The state of the server should be something like:
It could be retrieved as JSON from everywhere.
When the commands are building, it would be nice to see the output while the command is running.
Some commands may take a while, so it is nice to see this.
Hint:
Users should be able to opt-in for getting mails, when a build succeeded.
This may be useful as they may not be on the website for too long.
Therefore, we store username, server, email and password on in global variables.
Create a package to upload to pypi.
This can be done automatically with travis. Example
This should be the repository listing all the images which can be used as a basis for the image creation.
The server could work on old images -> pull the latest images before a build.
This should be in an own function in the image module.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.