Aseguráte de tener estos paquetes instalados en tu computadora
- Instalar git
- Terminal y ambiente de terminal: Git bash, bash o powershell (windows)
- Crear una cuenta en hub.docker.com
- Crear una cuenta en github.com si no la tiene creada
Aseguráte de tener estos paquetes instalados en tu computadora
# SQL Server Command Line Tools - custom image | |
# From Alpine 3.11 (~5 MBs) | |
FROM alpine:3.11 | |
# * ################################## | |
# * CHANGES | |
# * wrap RUNs into a single RUN command, this avoids multiple layers, reduce it from ~40MB to 17.7MB (so basically we added 12MB on top of alpine) | |
# * Allows you to change MSSQL_VERSION by passing `--build-arg MSSQL_VERSION=<new version>` during docker build. | |
ARG MSSQL_VERSION=17.5.2.1-1 |
version: "3.5" | |
services: | |
web: | |
image: ${IMAGE_NAME:-mcano/docker:intro} | |
environment: | |
- REDIS_HOST=redis | |
- FOO=${FOO:-BAR} | |
ports: | |
- target: 5000 | |
published: 5000 |
version: '3.7' | |
services: | |
redis: | |
image: redis:alpine | |
deploy: | |
mode: global | |
restart_policy: | |
condition: on-failure | |
ports: | |
- 6379:6379 |
#!/bin/sh | |
# requires latest version | |
# apk add --update net-tools | |
if [ -z $PROTOCOL ]; then | |
ps aux|grep logspout|grep -q "udp://" && { | |
PROTOCOL=u | |
ps aux|grep logspout|grep -q "tcp://" && { | |
PROTOCOL=t${PROTOCOL} | |
} || { |
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
# set Clock freq (Hz), possible values: Range 0-2, being 0 = step and -1 = infinite or as fast as you can. | |
clock: 1.2 | |
# turn on visualization and specify which things to print | |
visualization: | |
RAM: true | |
Registers: true | |
Clock: false | |
ALU: true |
#!/bin/bash | |
### BEGIN INIT INFO | |
# Provides: generic | |
# Required-Start: a | |
# Required-Stop: a | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: generic service | |
### END INIT INFO |
def jobname = "the-job-name" | |
def buildnum = 85 | |
def job = Jenkins.instance.getItemByFullName(jobname) | |
for (build in job.builds) { | |
if (buildnum == build.getNumber().toInteger()){ | |
if (build.isBuilding()){ | |
build.doStop(); | |
build.doKill(); | |