Function Images

Updated 1 day ago by Copado Solutions

Copado provides a series of out-of-the-box images that are used to execute different functions. An image is basically a container of pre-installed apps, features and libraries required to run a particular function.

In this article, you will find a description of all the images available. Click on the tables below to see detailed information about each of the features each image includes as well as their version.

Copado Function Core Image

This is the primary image. All other images derive from this one and include all these features.

This image contains an out-of-the-box communication layer with your Copado Salesforce org. As the job runs, the image sends platform events and can attach files to the result records: us.gcr.io/copado/copado-function-core:v1.7

Feature
git
npm
Node
musl
busybox
alpine-baselayout
alpine-keys
libcrypto1.1
libssl1.1
ca-certificates-bundle
libtls-standalone
ssl_client
zlib
apk-tools
scanelf
musl-utils
libc-utils
ncurses-terminfo-base
ncurses-libs
readline
bash
ca-certificates
brotli-libs
nghttp2-libs
libcurl
curl
expat
pcre2
c-ares
libgcc
libstdc++
libbz2
libffi
gdbm
xz-libs
sqlite-libs
python3
py3-ordered-set
py3-appdirs
py3-parsing
py3-six
py3-packaging
py3-setuptools
py3-chardet
py3-idna
py3-urllib3
py3-requests
py3-msgpack
py3-lockfile
py3-cachecontrol
py3-colorama
py3-contextlib2
py3-distlib
py3-distro
py3-webencodings
py3-html5lib
py3-pytoml
py3-pep517
py3-progress
py3-retrying
py3-toml
py3-pip
openssh-keygen
libedit
openssh-client
openssh-sftp-server
openssh-server-common
openssh-server
openssh
Version
2.30.2
6.14.12
14.16.1
1.2.2-r0
1.32.1-r6
3.2.0-r8
2.2-r0
1.1.1k-r0
1.1.1k-r0
20191127-r5
2.9.1-r1
1.32.1-r6
1.2.11-r3
2.12.5-r0
1.2.8-r0
1.2.2-r0
0.7.2-r3
6.2_p20210109-r0
6.2_p20210109-r0
8.1.0-r0
5.1.0-r0
20191127-r5
1.0.9-r3
1.42.0-r1
7.76.1-r0
7.76.1-r0
2.2.10-r1
10.36-r0
1.17.1-r1
10.2.1_pre1-r3
10.2.1_pre1-r3
1.0.8-r1
3.3-r2
1.19-r0
5.2.5-r0
3.34.1-r0
3.8.8-r0
4.0.2-r0
1.4.4-r1
2.4.7-r1
1.15.0-r0
20.9-r0
51.3.3-r0
4.0.0-r0
3.1-r0
1.26.2-r1
2.25.1-r1
1.0.2-r0
0.12.2-r3
0.12.6-r0
0.4.4-r0
0.6.0-r0
0.3.1-r1
1.5.0-r1
0.5.1-r3
1.1-r0
0.1.21-r0
0.9.1-r0
1.5-r0
1.3.3-r0
0.10.2-r0
20.3.4-r0
8.4_p1-r3
20191231.3.1-r1
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3

Commerce Cloud

us.gcr.io/copado/copado-multicloud-commerce-cloud:v1.1

Feature
git
npm
Node
sfcc-c
musl
busybox
alpine-baselayout
alpine-keys
libcrypto1.1
libssl1.1
ca-certificates-bundle
libtls-standalone
ssl_client
zlib
apk-tools
scanelf
musl-utils
libc-utils
ncurses-terminfo-base
ncurses-libs
readline
bash
ca-certificates
brotli-libs
nghttp2-libs
libcurl
curl
expat
pcre2
git
c-ares
libgcc
libstdc++
libbz2
libffi
gdbm
xz-libs
sqlite-libs
python3
py3-ordered-set
py3-appdirs
py3-parsing
py3-six
py3-packaging
py3-setuptools
py3-chardet
py3-idna
py3-urllib3
py3-requests
py3-msgpack
py3-lockfile
py3-cachecontrol
py3-colorama
py3-contextlib2
py3-distlib
py3-distro
py3-webencodings
py3-html5lib
py3-pytoml
py3-pep517
py3-progress
py3-retrying
py3-toml
py3-pip
openssh-keygen
libedit
openssh-client
openssh-sftp-server
openssh-server-common
openssh-server
openssh
unzip
zip
Version
2.30.2
6.14.12
14.16.1
2.6.0
1.2.2-r0
1.32.1-r5
3.2.0-r8
2.2-r0
1.1.1k-r0
1.1.1k-r0
20191127-r5
2.9.1-r1
1.32.1-r5
1.2.11-r3
2.12.4-r0
1.2.8-r0
1.2.2-r0
0.7.2-r3
6.2_p20210109-r0
6.2_p20210109-r0
8.1.0-r0
5.1.0-r0
20191127-r5
1.0.9-r3
1.42.0-r1
7.74.0-r1
7.74.0-r1
2.2.10-r1
10.36-r0
2.30.2-r0
1.17.1-r1
10.2.1_pre1-r3
10.2.1_pre1-r3
1.0.8-r1
3.3-r2
1.19-r0
5.2.5-r0
3.34.1-r0
3.8.8-r0
4.0.2-r0
1.4.4-r1
2.4.7-r1
1.15.0-r0
20.9-r0
51.3.3-r0
4.0.0-r0
3.1-r0
1.26.2-r1
2.25.1-r1
1.0.2-r0
0.12.2-r3
0.12.6-r0
0.4.4-r0
0.6.0-r0
0.3.1-r1
1.5.0-r1
0.5.1-r3
1.1-r0
0.1.21-r0
0.9.1-r0
1.5-r0
1.3.3-r0
0.10.2-r0
20.3.4-r0
8.4_p1-r3
20191231.3.1-r1
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
6.0-r8
3.0-r9

MuleSoft

us.gcr.io/copado/copado-multicloud-mulesoft:v1.1.

Feature
git
anypoint-cli
npm
Node
musl
busybox
alpine-baselayout
alpine-keys
libcrypto1.1
libssl1.1
ca-certificates-bundle
libtls-standalone
ssl_client
zlib
apk-tools
scanelf
musl-utils
libc-utils
ncurses-terminfo-base
ncurses-libs
readline
bash
ca-certificates
brotli-libs
nghttp2-libs
libcurl
curl
expat
pcre2
git
c-ares
libgcc
libstdc++
libbz2
libffi
gdbm
xz-libs
sqlite-libs
python3
py3-ordered-set
py3-appdirs
py3-parsing
py3-six
py3-packaging
py3-setuptools
py3-chardet
py3-idna
py3-urllib3
py3-requests
py3-msgpack
py3-lockfile
py3-cachecontrol
py3-colorama
py3-contextlib2
py3-distlib
py3-distro
py3-webencodings
py3-html5lib
py3-pytoml
py3-pep517
py3-progress
py3-retrying
py3-toml
py3-pip
openssh-keygen
libedit
openssh-client
openssh-sftp-server
openssh-server-common
openssh-server
openssh
libpng
freetype
libuuid
fontconfig
encodings
libfontenc
mkfontscale
ttf-dejavu
libxau
libbsd
libxdmcp
libxcb
libx11
libxcomposite
libxext
libxi
libxrender
libxtst
alsa-lib
giflib
libjpeg-turbo
openjdk8-jre-lib
java-common
p11-kit
libtasn1
p11-kit-trust
java-cacerts
nspr
nss
krb5-conf
libcom_err
keyutils-libs
libverto
krb5-libs
lcms2
pcsc-lite-libs
liblksctp
openjdk8-jre-base
openjdk8-jre
openjdk8
Maven
Version
2.30.2
3.6.1
6.14.12
14.16.1
1.2.2-r0
1.32.1-r6
3.2.0-r8
2.2-r0
1.1.1k-r0
1.1.1k-r0
20191127-r5
2.9.1-r1
1.32.1-r6
1.2.11-r3
2.12.5-r0
1.2.8-r0
1.2.2-r0
0.7.2-r3
6.2_p20210109-r0
6.2_p20210109-r0
8.1.0-r0
5.1.0-r0
20191127-r5
1.0.9-r3
1.42.0-r1
7.76.1-r0
7.76.1-r0
2.2.10-r1
10.36-r0
2.30.2-r0
1.17.1-r1
10.2.1_pre1-r3
10.2.1_pre1-r3
1.0.8-r1
3.3-r2
1.19-r0
5.2.5-r0
3.34.1-r0
3.8.8-r0
4.0.2-r0
1.4.4-r1
2.4.7-r1
1.15.0-r0
20.9-r0
51.3.3-r0
4.0.0-r0
3.1-r0
1.26.2-r1
2.25.1-r1
1.0.2-r0
0.12.2-r3
0.12.6-r0
0.4.4-r0
0.6.0-r0
0.3.1-r1
1.5.0-r1
0.5.1-r3
1.1-r0
0.1.21-r0
0.9.1-r0
1.5-r0
1.3.3-r0
0.10.2-r0
20.3.4-r0
8.4_p1-r3
20191231.3.1-r1
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
1.6.37-r1
2.10.4-r1
2.36.1-r1
2.13.1-r3
1.0.5-r0
1.1.4-r0
1.2.1-r1
2.37-r1
1.0.9-r0
0.10.0-r0
1.1.3-r0
1.14-r1
1.7.0-r0
0.4.5-r0
1.3.4-r0
1.7.10-r0
0.9.10-r3
1.2.3-r3
1.2.4-r2
5.2.1-r0
2.0.6-r0
8.275.01-r0
0.2-r0
0.23.22-r0
4.16.0-r1
0.23.22-r0
1.0-r1
4.29-r0
3.63-r1
1.0-r2
1.45.7-r0
1.6.3-r0
0.3.1-r1
1.18.3-r1
2.11-r0
1.9.0-r0
1.0.18-r1
8.275.01-r0
8.275.01-r0
8.275.01-r0
3.6.3-r0

DPL

Dpl is a library that is used to deploy Heroku: us.gcr.io/copado/copado-multicloud-dpl:v1.1.

Feature
git
npm
Node
musl
busybox
alpine-baselayout
alpine-keys
libcrypto1.1
libssl1.1
ca-certificates-bundle
libtls-standalone
ssl_client
zlib
apk-tools
scanelf
musl-utils
libc-utils
ncurses-terminfo-base
ncurses-libs
readline
bash
ca-certificates
brotli-libs
nghttp2-libs
libcurl
curl
expat
pcre2
git
c-ares
libgcc
libstdc++
libbz2
libffi
gdbm
xz-libs
sqlite-libs
python3
py3-ordered-set
py3-appdirs
py3-parsing
py3-six
py3-packaging
py3-setuptools
py3-chardet
py3-idna
py3-urllib3
py3-requests
py3-msgpack
py3-lockfile
py3-cachecontrol
py3-colorama
py3-contextlib2
py3-distlib
py3-distro
py3-webencodings
py3-html5lib
py3-pytoml
py3-pep517
py3-progress
py3-retrying
py3-toml
py3-pip
openssh-keygen
libedit
openssh-client
openssh-sftp-server
openssh-server-common
openssh-server
openssh
less
libressl3.1-libcrypto
libressl3.1-libssl
libressl3.1-libtls
libressl
gmp
yaml
ruby-libs
ruby
ruby-bigdecimal
ruby-etc
ruby-io-console
ruby-irb
Version
2.30.2
6.14.12
14.16.1
1.2.2-r0
1.32.1-r5
3.2.0-r8
2.2-r0
1.1.1k-r0
1.1.1k-r0
20191127-r5
2.9.1-r1
1.32.1-r5
1.2.11-r3
2.12.4-r0
1.2.8-r0
1.2.2-r0
0.7.2-r3
6.2_p20210109-r0
6.2_p20210109-r0
8.1.0-r0
5.1.0-r0
20191127-r5
1.0.9-r3
1.42.0-r1
7.74.0-r1
7.74.0-r1
2.2.10-r1
10.36-r0
2.30.2-r0
1.17.1-r1
10.2.1_pre1-r3
10.2.1_pre1-r3
1.0.8-r1
3.3-r2
1.19-r0
5.2.5-r0
3.34.1-r0
3.8.8-r0
4.0.2-r0
1.4.4-r1
2.4.7-r1
1.15.0-r0
20.9-r0
51.3.3-r0
4.0.0-r0
3.1-r0
1.26.2-r1
2.25.1-r1
1.0.2-r0
0.12.2-r3
0.12.6-r0
0.4.4-r0
0.6.0-r0
0.3.1-r1
1.5.0-r1
0.5.1-r3
1.1-r0
0.1.21-r0
0.9.1-r0
1.5-r0
1.3.3-r0
0.10.2-r0
20.3.4-r0
8.4_p1-r3
20191231.3.1-r1
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
563-r0
3.1.5-r0
3.1.5-r0
3.1.5-r0
3.1.5-r0
6.2.1-r0
0.2.5-r0
2.7.3-r0
2.7.3-r0
2.7.3-r0
2.7.3-r0
2.7.3-r0
2.7.3-r0

The Dpl library has a dependency on Ruby, so this image also includes the following Ruby gems:

Feature
benchmark
bigdecimal
bundler
cgi
csv
date
dbm
delegate
did_you_mean
dpl
etc
fcntl
fileutils
forwardable
getoptlong
io-console
ipaddr
irb
json
logger
matrix
mutex_m
net-pop
net-smtp
observer
open3
openssl
ostruct
prime
pstore
psych
racc
readline
readline-ext
reline
rexml
rss
singleton
stringio
strscan
timeout
url
yaml
zlib
Version
0.1.0
2.0.0
2.2.16
0.1.0
3.1.2
3.0.0
1.1.0
0.1.0
1.4.0
1.10.16
1.1.0
1.0.0
1.4.1
1.3.1
0.1.0
0.5.6
1.2.2
1.2.6
2.5.1
1.4.2
0.2.0
0.1.0
0.1.0
0.1.0
0.1.0
0.1.0
2.1.2
0.2.0
0.1.1
0.1.0
3.1.0
1.4.16
0.0.2
0.1.0
0.1.5
3.2.3.1
0.2.8
0.1.0
0.1.0
1.0.3
0.1.0
0.10.0
0.1.0
1.1.0

Git Utils

This image is for a library that only contains Git: us.gcr.io/copado/copado-multicloud-git-utils:v1.1.

Feature
git
npm
Node
musl
busybox
alpine-baselayout
alpine-keys
libcrypto1.1
libssl1.1
ca-certificates-bundle
libtls-standalone
ssl_client
zlib
apk-tools
scanelf
musl-utils
libc-utils
ncurses-terminfo-base
ncurses-libs
readline
bash
ca-certificates
brotli-libs
nghttp2-libs
libcurl
curl
expat
pcre2
git
c-ares
libgcc
libstdc++
libbz2
libffi
gdbm
xz-libs
sqlite-libs
python3
py3-ordered-set
py3-appdirs
py3-parsing
py3-six
py3-packaging
py3-setuptools
py3-chardet
py3-idna
py3-urllib3
py3-requests
py3-msgpack
py3-lockfile
py3-cachecontrol
py3-colorama
py3-contextlib2
py3-distlib
py3-distro
py3-webencodings
py3-html5lib
py3-pytoml
py3-pep517
py3-progress
py3-retrying
py3-toml
py3-pip
openssh-keygen
libedit
openssh-client
openssh-sftp-server
openssh-server-common
openssh-server
openssh
less
libressl3.1-libcrypto
libressl3.1-libssl
libressl3.1-libtls
libressl
gmp
yaml
ruby-libs
ruby
ruby-bigdecimal
ruby-etc
ruby-io-console
ruby-irb
Version
2.30.2
6.14.12
14.16.1
1.2.2-r0
1.32.1-r6
3.2.0-r8
2.2-r0
1.1.1k-r0
1.1.1k-r0
20191127-r5
2.9.1-r1
1.32.1-r6
1.2.11-r3
2.12.5-r0
1.2.8-r0
1.2.2-r0
0.7.2-r3
6.2_p20210109-r0
6.2_p20210109-r0
8.1.0-r0
5.1.0-r0
20191127-r5
1.0.9-r3
1.42.0-r1
7.76.1-r0
7.76.1-r0
2.2.10-r1
10.36-r0
2.30.2-r0
1.17.1-r1
10.2.1_pre1-r3
10.2.1_pre1-r3
1.0.8-r1
3.3-r2
1.19-r0
5.2.5-r0
3.34.1-r0
3.8.8-r0
4.0.2-r0
1.4.4-r1
2.4.7-r1
1.15.0-r0
20.9-r0
51.3.3-r0
4.0.0-r0
3.1-r0
1.26.2-r1
2.25.1-r1
1.0.2-r0
0.12.2-r3
0.12.6-r0
0.4.4-r0
0.6.0-r0
0.3.1-r1
1.5.0-r1
0.5.1-r3
1.1-r0
0.1.21-r0
0.9.1-r0
1.5-r0
1.3.3-r0
0.10.2-r0
20.3.4-r0
8.4_p1-r3
20191231.3.1-r1
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
563-r0
3.1.5-r0
3.1.5-r0
3.1.5-r0
3.1.5-r0
6.2.1-r0
0.2.5-r0
2.7.3-r0
2.7.3-r0
2.7.3-r0
2.7.3-r0
2.7.3-r0
2.7.3-r0

Metadata Image

This image contains Vlocity and Salesforce DX: us.gcr.io/copado/copado-multicloud-metadata:v1.2.

Feature
git
Vlocity build tool
Node
Sfdx-cli
npm
musl
busybox
alpine-baselayout
alpine-keys
libcrypto1.1
libssl1.1
ca-certificates-bundle
libtls-standalone
ssl_client
zlib
apk-tools
scanelf
musl-utils
libc-utils
ncurses-terminfo-base
ncurses-libs
readline
bash
ca-certificates
brotli-libs
nghttp2-libs
ibcurl
curl
expat
pcre2
git
c-ares
libgcc
libstdc++
libbz2
libffi
gdbm
xz-libs
sqlite-libs
python
py3-ordered-set
py3-appdirs
py3-parsing
py3-six
py3-packaging
py3-setuptools
py3-chardet
py3-idna
py3-urllib3
py3-requests
py3-msgpack
py3-lockfile
py3-cachecontrol
py3-colorama
py3-contextlib2
py3-distlib
py3-distro
py3-webencodings
py3-html5lib
py3-pytoml
py3-pep517
py3-progress
py3-retrying
py3-toml
py3-pip
openssh-keygen
libedit
openssh-client
openssh-sftp-server
openssh-server-common
openssh-server
openssh
Version
2.30.2
1.12.12
15.11.0
7.54.4
6.14.12
1.2.2-r0
1.32.1-r6
3.2.0-r8
2.2-r0
1.1.1k-r0
1.1.1k-r0
20191127-r5
2.9.1-r1
1.32.1-r6
1.2.11-r3
2.12.5-r0
1.2.8-r0
1.2.2-r0
0.7.2-r3
6.2_p20210109-r0
6.2_p20210109-r0
8.1.0-r0
5.1.0-r0
20191127-r5
1.0.9-r3
1.42.0-r1
7.76.1-r0
7.76.1-r0
2.2.10-r1
10.36-r0
2.30.2-r0
1.17.1-r1
10.2.1_pre1-r3
10.2.1_pre1-r3
1.0.8-r1
3.3-r2
1.19-r0
5.2.5-r0
3.34.1-r0
3.8.8-r0
4.0.2-r0
1.4.4-r1
2.4.7-r1
1.15.0-r0
20.9-r0
51.3.3-r0
4.0.0-r0
3.1-r0
1.26.2-r1
2.25.1-r1
1.0.2-r0
0.12.2-r3
0.12.6-r0
0.4.4-r0
0.6.0-r0
0.3.1-r1
1.5.0-r1
0.5.1-r3
1.1-r0
0.1.21-r0
0.9.1-r0
1.5-r0
1.3.3-r0
0.10.2-r0
20.3.4-r0
8.4_p1-r3
20191231.3.1-r1
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3
8.4_p1-r3

Working with Other Libraries

If you want to work with a library that is not included in the out-of-the-box images, you can install it using a script like this (please note that this example is for an npm library):

#!/usr/bin/env node

const execSync = require('child_process').execSync;

const commands = `
copado -p 'Initializing npm'
cd /tmp
npm init -y
copado -p 'installing jspdf'
npm i --save jspdf
copado -p 'generating'
`;

execSync(commands);
const { jsPDF } = require('jspdf');

const doc = new jsPDF();

doc.text('Hello world!', 10, 10);
doc.save('a4.pdf');
execSync('copado -u "a4.pdf"');

In the very first line of the script, you need to specify the type of language that is being used, in this example, JavaScript:

#!/usr/bin/env node

When you install any third-party library, prior to installing it, you need to switch to the tmp folder. Use this line of code before the installation part:

cd /tmp

Another thing to consider when installing a third-party library is that you should always install the library locally and not globally to avoid permission issues.


How did we do?