Comments (16)
Nobody wants to use scratch, alpine is a perfect base
from gitea.
I would strongly recommend against using scratch
as that renders any form of shell scripting invalid.
from gitea.
The way you say it makes it sound like avoiding shell scripts is a bad thing
from gitea.
Yes, it breaks many things. Including git-hooks and https://github.com/go-gitea/git.
from gitea.
keep s6 as an init replacement.
from gitea.
rewrite env variables
from gitea.
dockerfile cleanup
from gitea.
I would suggest to have the smaller image as possible and by doing so, the compilation should be done outside and the binary pushed to the docker (maybe from scratch instead alpine).
I could provide later a link to a docker images that can be used to build Go program and make docker images without compiler program.
Edit 11/10/16:
Here is the link to build dockerfile for Go program with image "SCRATCH"
from gitea.
@DblK feel free to update your comment with the appropriate link :)
from gitea.
We will use drone to build the binary outside of the docker image, the drone pipeline is in preparation ;)
from gitea.
@tboerger nice !
then @DblK send the link to me :) i'd be happy to learn moaaarrrr go :)
from gitea.
why do we need that s6 stuff instead of setting things up in the dockerfile?
from gitea.
@willemvd we need s6 as process manager because we will run more than a single service within the container, at least we need Gitea and openSSH.
from gitea.
@tboerger, I just wanted to let anyone that likes @DblK's idea know that it's not going to be good if we use scratch as base.
from gitea.
Using scratch as base not is (in this case) a good idea cause you need OpenSSH and shell scripts.
from gitea.
We already refactored docker
from gitea.
Related Issues (20)
- Push mirror from gitea to github no longer works HOT 7
- avatar_default.png broken on some pages HOT 7
- Pull requests for repository with git-lfs fail with 'batch request: missing protocol: ""' HOT 3
- The code comment dispeared after resolving/unresolving a comment HOT 3
- Cant create a pull-request if i used a Template HOT 1
- Licenses: Force maximum width to 80 characters HOT 1
- Feature Proposal: Organization Readmes HOT 2
- .profile Feature Not Working for Organizations HOT 2
- Add more filters to notifications view
- Enable X-Gitea-OTP header for git operations HOT 12
- Add help text for each merge style
- Lfs upload file cannot be ended HOT 5
- Manifest push fails when using Gitea container registry with Docker BuildKit caching HOT 4
- README.org casuing 500 internal server error HOT 10
- Many golang links are outdated and don't use https. HOT 2
- Windows - Code indexer fails due to long command line HOT 3
- refs/ are not updated HOT 3
- Make Change Password on First Sign In optional in config HOT 1
- [SP] Translate error HOT 3
- Comment types checked out "Assignee" but still showing that activity/comment in issue page HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitea.