This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function set_trap(){ | |
local function_name="${1}" | |
local signal_name="${2}" | |
local current_trap | |
local current_code | |
[[ -z "${function_name}" || -z "${signal_name}" ]] && return 1 | |
current_trap=$(trap -p "${signal_name}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
RUN set -x \ | |
&& apt-get update \ | |
&& apt-get install \ | |
-y \ | |
--no-install-recommends \ | |
--no-install-suggests \ | |
ca-certificates \ |