We can do this running our image interactively which creates a temporary container for:
docker run --rm -it \
--name my_container \
--volume $PWD:/some_dir_in_container \
--workdir /some_dir_in_container \
golang:1.13-buster bash| { | |
| "data": [ | |
| { | |
| "name": "Lua", | |
| "version": 5.3, | |
| "summary": "Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming and data description.", | |
| "extensions": [ | |
| "lua" | |
| ], | |
| "keywords": [ |
git push --tags --progress [email protected]:joseluisq/tslint-config-standard-plus.git refs/heads/*:refs/heads/*Note: --tags will push all local tags as well.
References:
| const streamFileArchive = require("stream-file-archive") | |
| const Stream = require("stream") | |
| /** | |
| * Write a log file with rotation option | |
| * | |
| * @param {String} path Log file path | |
| * @param {String} symlink Log file path symlink (latest log file) | |
| * @param {String} separator String seprator for log data (E.g. separator for array of strings passed into `write` method) | |
| */ |
| /** | |
| * A tool to minify XML strings | |
| * This code was borrowed and adapted from vkbeautify xml | |
| * https://github.com/vkiryukhin/vkBeautify/blob/master/vkbeautify.js | |
| */ | |
| function XMLMinifier () { | |
| function xml(text, step = "\t") { | |
| const ar = text | |
| .replace(/>\s{0,}</g, "><") | |
| .replace(/</g, "~::~<") |
| {"categories":[{"id":1,"group":"#","slug":"360-degree-feedback-software","title":"360 Degree Feedback Software","tags":["360","degree","feedback","software","appraisal","review","multi","rater","multi-rater"]},{"id":2,"group":"#","slug":"3d-architecture-software","title":"3D Architecture Software","tags":["3d","architecture","software"]},{"id":3,"group":"#","slug":"3d-cad-software","title":"3D CAD Software","tags":["3d","cad","software","computer","aided","design"]},{"id":4,"group":"A","slug":"ab-testing-software","title":"AB Testing Software","tags":["ab","testing","software","a/b","multivariate"]},{"id":5,"group":"A","slug":"account-based-marketing-software","title":"Account Based Marketing Software","tags":["account","based","marketing","software"]},{"id":6,"group":"A","slug":"accounting-software","title":"Accounting Software","tags":["accounting","software","gl","ap","ar","a/r","a/p","bookkeeping","general","ledger"]},{"id":7,"group":"A","slug":"accounting-practice-management-software","title":"Accounting |
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| type ( | |
| Author struct { | |
| Name string | |
| Email string |
| # Detect operating system in Makefile. | |
| # Author: He Tao | |
| # Date: 2015-05-30 | |
| OSFLAG := | |
| ifeq ($(OS),Windows_NT) | |
| OSFLAG += -D WIN32 | |
| ifeq ($(PROCESSOR_ARCHITECTURE),AMD64) | |
| OSFLAG += -D AMD64 | |
| endif |