- ざっくり概要として、CMDとENTRYPOINT どちらを使うかによって
docker run CONTAINER_ID <command>
した際の<command>
が及ぼす影響 が変わる
- Dockerfile
docker run CONTAINER_ID <command>
した際の<command>
が及ぼす影響 が変わるOur Virtual Machines are provisioned using Vagrant from a Linux base box to run using VirutalBox. If the Hard Disk space runs out and you cannot remove files to free-up space, you can resize the Hard Disk using some VirtualBox and Linux commands.
The following steps assume you've got a set-up like mine, where:
# 少し凝った zshrc | |
# License : MIT | |
# http://mollifier.mit-license.org/ | |
######################################## | |
# 環境変数 | |
export LANG=ja_JP.UTF-8 | |
# 色を使用出来るようにする |
この記事は、lispリーダーマクロアドベントカレンダー の4日目の記事です。 タイトルにある通り、Clojure でのリー ダーマクロについて取り扱います(対象とする Clojure のバージョンは 1.4)。
(ns example.stdin) | |
(defn -main | |
"Read from STDIN" | |
[& args] | |
(println "Enter text:") | |
(loop [input (read-line)] | |
(when-not (= ":done" input) | |
(println (str "You entered: >>" input "<<")) |
cljsc src '{:optimizations :simple :pretty-print true :target :nodejs}' > lib/sample.js |
#!/usr/bin/perl | |
# | |
# Pre-commit hook for running checkstyle on changed Java sources | |
# | |
# To use this you need: | |
# 1. checkstyle's jar file somewhere | |
# 2. a checkstyle XML check file somewhere | |
# 3. To configure git: | |
# * git config --add checkstyle.jar <location of jar> | |
# * git config --add checkstyle.checkfile <location of checkfile> |