Install the nix os with no desktop environment
wallpaper link https://github.com/dipankardas011/linux-configs/blob/main/i3/images/bg_2.jpg
/*** | |
* @author Dipankar Das | |
* cc -o util copy.c | |
* | |
* ./util cp <source> <destination> | |
* | |
* ./util mv <source> <destination> | |
*/ | |
#include <stdio.h> |
# Use the official Python 3.9 image | |
FROM python:3.9 | |
# Set the working directory to /code | |
WORKDIR /code | |
# Copy the current directory contents into the container at /code | |
COPY ./requirements.txt /code/requirements.txt | |
# Install requirements.txt |
[Watch the video in YouTube<br> ](https://youtu.be/6-UJzEXMvGY) |
########################### | |
# IT IS ONLY | |
# INSTRUCTIONS (NOT MENT TO BE EXECUTABLE DIRECTLY) | |
########################### | |
# reference: https://gist.github.com/saiyam1814/c3e91322441fdb53bbf5958b943a41f3 | |
# 192.168.1.6 kubeadm-cp-1-5db6-f1562d | |
# 192.168.1.7 kubeadm-cp-2-11ce-f1562d | |
# 192.168.1.8 kubeadm-cp-3-16c3-f1562d |
FROM --platform=$BUILDPLATFORM rust:1.64 AS buildbase | |
WORKDIR /src | |
RUN <<EOT bash | |
set -ex | |
apt-get update | |
apt-get install -y git clang | |
rustup target add wasm32-wasi | |
EOT | |
FROM buildbase AS build |
Install the nix os with no desktop environment
wallpaper link https://github.com/dipankardas011/linux-configs/blob/main/i3/images/bg_2.jpg
here is command to resolve it in fedora
sudo nmcli connection modify <connection_name> ipv4.dns "8.8.8.8, 8.8.4.4"
sudo nmcli connection modify <connection_name> ipv4.ignore-auto-dns yes
sudo nmcli connection down <connection_name>
sudo nmcli connection up <connection_name>
This gist provides a simple way to try out graceful termination
If any errors are there feel free to comment down below, I happy to fix them 👍