Comments (10)
Ok.
My point is still that a text editor is not necessary for successfully setting up and running the container. For most users I see no use case for editing files directly.
For example: Things like modifying iobroker.json work via command line ("iobroker setup custom")...
As I try to keep the image as slim as possible I will not add an editor package or any other "standard" tool directly to the image. Only packages needed for a clean and successful installation and first start of an iobroker container will be installed by default.
All additional packages can be defined by the use of the env "PACKAGES" or should be installed manually when they are needed.
BUT: As I defined a "standard value" for env "PACKAGES" in the dockerfile I will set this to "vi".
Regards,
André
from iobroker.docker.
As everybody has his own favorite editor (for me it is nano), I will not add vim to the image. Please use ENV "PACKAGES".
Regards,
André
from iobroker.docker.
It’s not about favorites, it’s about standards everyone knows that it’s always there 🙄
from iobroker.docker.
Please reference the standards you are talking about. Official Debian Wiki gives no hint about "standard editors" in Debian (https://wiki.debian.org/TextEditor).
Furthermore the image (amd64) is based on the official Debian Docker image (https://hub.docker.com/_/debian) which includes no standard editor.
Regards,
André
from iobroker.docker.
It is no ISO standard, it is what people are used to as a minimum editor on every system that is intended for interactive login. A minimum baseline Debian Docker image is usually not intended for interactive login. Also, this image is not designed for immediate use - it is a basis to create actual images
However, ioBroker is one of many cases where you would regularly login in interactive mode to run commands and change files.
First thing you expect to be there on any unknown system is VIM - it is simply one of the oldest editors for *Unix. I know there are quite many semi-professionals who don't like to use VIM because of it's very special way of use. But this is also exactly why this lightweight editor is there for over 3 decades and it is the de-facto fallback editor you always expect to be there if nothing else is installed. nano for sure is not the first editor a professional would expect to open in the first place (that is, because it is simply not installed on so many servers while VIM is).
Anyway - if the intention of this image is a ready-to-use philosophy either it should include VIM, or it is imply not ready to use without immediate customisation (which I personally find to be odd - but maybe that's just me having too high expectations...).
from iobroker.docker.
The Unix standard is “vi” ;-) Debian decided to stay with vi as default. Ubuntu for instance uses vim ... but so it is based on the basic distribution... and here we have Debian as Basis. So I understand the position here.
from iobroker.docker.
Call it VIM or "vi", it is meant to be the same thing ;) (as there would usually always be an alias set for vi
).
(see here)
from iobroker.docker.
Nooooooo vi is original and also available on nearly all other Unix derivates (As/400 and such). Vim is the “better vi” with more easy usage and compatible in usage. But much enhanced, and therefor often used as alias. ;-)
Unix has a veeeeeery long history ;-)
from iobroker.docker.
I know, I'm quite (and almost) old as well :-p
At the end of the day, any of those two variants will do for just "bare metal" editing ^_^
from iobroker.docker.
Thanks! It is not about editing but also about viewing and browsing through file content.
from iobroker.docker.
Related Issues (20)
- [Problem]: Container working but unhealthy HOT 1
- [Feature Request]: possibility to call a restart from inside ioBroker (e.g. javascript-adapter) HOT 6
- [Feature Request]: Podman support (rootless by default) in installation script. HOT 6
- [Feature Request]: Working together on a helm chart HOT 2
- [Problem]: cannot pull most of the tags for ghcr.io/buanet/iobroker HOT 1
- [Feature Request]: Add set -e to healthcheck.sh HOT 1
- [Feature Request]: migrate to PUID/PGID since it is the defacto standard HOT 2
- [Problem]: userscripts are not owned by the SETGID/SETUID user HOT 2
- [Problem]: iobroker_startup.sh should respect traps HOT 3
- [Feature Request]: Disable keep-alive feature for containers, when not in maintenance mode HOT 6
- [Feature Request]: Make the list of available backups sorted
- [Problem]: arm/v7 support HOT 10
- [Problem]: Small typo in docs HOT 1
- [Problem]: Container on QNAP NAS: Backitup can't access mount point HOT 2
- [Problem]: Running Iobroker as a podman rootless container HOT 1
- [Problem]: iobroker gets killed by oom-kill constantly HOT 6
- Backup of influxdb running in different docker is not working HOT 8
- [Problem]: Update js-controller HOT 2
- Failed to load definitions for node: Error: HOT 1
- The selected advertiser, \"avahi\", isn't available on this platform HOT 2
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 iobroker.docker.