gbraad-devenv / fedora Goto Github PK
View Code? Open in Web Editor NEWFedora-based development environment of @gbraad
Home Page: https://fedora.devenv.gbraad.nl
Fedora-based development environment of @gbraad
Home Page: https://fedora.devenv.gbraad.nl
to 38
Create an image devenv/coder
that is based on systemd
-> dotfiles
#11
https://coder.com/docs/code-server/latest/install#fedora-centos-rhel-suse
export VERSION=4.10.0
curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server-$VERSION-amd64.rpm
sudo rpm -i code-server-$VERSION-amd64.rpm
sudo systemctl enable --now code-server@$USER
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
Store tailscale state in workspace folder after pivot/clear.
Separate the install from docker-devenv and the installation is also used for OpenStack Heat Templates.
{
"$schema": "https://codesandbox.io/schemas/tasks.json",
"setupTasks": ["yarn install", "yarn build"],
"tasks": {
"install-dependencies": {
"name": "Install Dependencies",
"command": "yarn install"
},
"start-app": {
"name": "Run Dev Server",
"command": "yarn start",
"runAtStart": true
}
}
}
The current systemd
image is dependent on the dotfiles
image. It might be better to move this around.
systemd
depends on base
dotfiles
depends on dotfiles
user
is added to dotfiles
systemd
+ dotfiles
coder
based on dotfiles
/ systemd
#7Toolbox usage sucks as it is very unclear why it fails:
DEBU Checking if container devbox-fedora38 exists
DEBU Inspecting mounts of container devbox-fedora38
DEBU Starting container devbox-fedora38
DEBU Inspecting entry point of container devbox-fedora38
DEBU Entry point PID is a float64
DEBU Entry point of container devbox-fedora38 is toolbox (PID=0)
Error: invalid entry point PID of container devbox-fedora38
I have tried this with all extra packages as in their toolbox/images and bx-images trepo, but no change. Also, the start pretty much hangs for minutes at:
DEBU toolbox
DEBU --log-level
DEBU debug
DEBU init-container
DEBU --gid
DEBU 1000
DEBU --home
DEBU /home/gbraad
DEBU --shell
DEBU /bin/zsh
DEBU --uid
DEBU 1000
DEBU --user
DEBU gbraad
DEBU --monitor-host
whch makes this an unusable solution. Focus for now on Distrobox.
USER gbraad
ENTRYPOINT ["/usr/bin/tnux", "-l"]
On the Ampere server, these images of course will not run:
WARNING: image platform ({amd64 linux [] }) does not match the expected platform ({arm64 linux [] })
RUN mkdir -p /usr/etc-system/ && \
echo 'PermitRootLogin prohibit-password' > /etc/ssh/sshd_config.d/35-no-root-pw.conf && \
echo 'AuthorizedKeysFile /usr/etc-system/%u.keys' >> /etc/ssh/sshd_config.d/30-auth-system.conf && \
curl https://github.com/gbraad.keys | tee -a /usr/etc-system/root.keys && \
chmod 0600 /usr/etc-system/*.keys
dnf copr enable rubemlrm/act-cli
dnf install act-cli
gh extension install https://github.com/nektos/gh-act
to make use of the styling: gbraad/dotfiles#14
echo '[charm]
name=Charm
baseurl=https://repo.charm.sh/yum/
enabled=1
gpgcheck=1
gpgkey=https://repo.charm.sh/yum/gpg.key' | sudo tee /etc/yum.repos.d/charm.repo
sudo yum install glow
After initially splitting the repositories, it is best to merge them again as Vagrant is also part of this code repository.
... for socksify
config.vm.provider "libvirt" do |libvirt, override|
libvirt.cpus = 2
libvirt.memory = 2048
libvirt.driver = 'kvm'
libvirt.nested = true
libvirt.storage :file, :size => '20G'
end
Currently, codespaces does not initialize as expected.
It is suggested to move to a background process using screen
and checked in a startup look to become responsive. This can be used by both gitpod and codespaces (partially replicate what tailwings does)
Consider merging the install.sh
and run_container.sh
as since consolidation they serve the same purpose, but with an unnecessary involvement of curl
.
as root
$ dnf install -y tigervnc-server
as user
$ echo PREFERRED=i3 | sudo tee /etc/sysconfig/desktop
$ vncserver :0
$ novnc_server
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.