Skip to content

Instantly share code, notes, and snippets.

@nighthacker
nighthacker / Vagrantfile
Created February 29, 2024 22:05 — forked from mike-hearn/Vagrantfile
Multi-machine Vagrant config with private networking
# -*- mode: ruby -*-
# vi: set ft=ruby :
boxes = [
{
:name => "server1",
:eth1 => "192.168.205.10",
:mem => "1024",
:cpu => "1"
@nighthacker
nighthacker / jenkins-in-docker.md
Created December 13, 2021 22:38 — forked from afloesch/jenkins-in-docker.md
Jenkins in Docker (docker-in-docker)

Jenkins in Docker (docker-in-docker)

Testing Jenkins flows on your local machine, or running Jenkins in production in a docker container can be a little tricky with a docker-in-docker scenario. You could install Jenkins to avoid any docker-in-docker issues, but then you have Jenkins on your machine, and the local environment is likely going to be a fairly different from the actual production build servers, which can lead to annoying and time-consuming issues to debug.

Build environment differences are precisely why there is a strong argument to be made to run build processes strictly in docker containers. If we follow the philosophy that every build step or action should run in a docker container, even the Jenkins server itself, then we get massive benefits from things like, total control over the build environment, easily modify the build environment without the possibility of adversely effecting other jobs, explicit and strongly controlled tool versions,

1.) Install npm
2.) Install Vue CLI
npm install -g @vue/cli
edit System properties/environment variables...
and new entry to your Path variable:
C:\Users\YOURUSERNAME\AppData\Roaming\npm
after that vue command should be available from cmd line.