Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

run shell script in dockerfile

FROM php:7-fpm    
ADD bootstrap.sh /
RUN bash -c "/bootstrap.sh"
Comment

run shell script in docker build

#!/bin/bash
set -x
while $1
do
    echo "Press [CTRL+C] to stop.."
    sleep 5
    echo "My second and third argument is $2 & $3"
done
Comment

PREVIOUS NEXT
Code Example
Shell :: windows cmd remove a not empty directory 
Shell :: undo git commit and keep changes 
Shell :: git delete local branch 
Shell :: how to install kubectl in ubuntu 
Shell :: install fira code ubuntu 
Shell :: git check if there are staged changes 
Shell :: kde increase refresh rate 
Shell :: how to stash specific file in git with message 
Shell :: generate new ssh key 
Shell :: how to see users logged in linux 
Shell :: git rm --cached settings.json 
Shell :: install mpg321 
Shell :: mssql-tools : depends: msodbcsql17 (= 17.3.0.0) but it is not going to be installed 
Shell :: install android studio 
Shell :: powershell break loop 
Shell :: how to install appium 
Shell :: enable ssh linux 
Shell :: how to remove all files in a directory matching a regex pattern shell 
Shell :: windows open browser from command line 
Shell :: bash how to delete blank lines 
Shell :: flatpak repo 
Shell :: helm cheat sheet 
Shell :: bash select 
Shell :: create repository, commit, and push 
Shell :: linux list all system groups in order 
Shell :: debian ssh authorized_keys 
Shell :: install node package manager 
Shell :: bash list all files in directory and subdirectories 
Shell :: bash how to log in to remote server 
Shell :: loops in shell script 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =