mirror of
https://github.com/dokku/dokku.git
synced 2025-12-16 12:07:45 +01:00
tests: ensure pack binary is installed correctly when running tests in a devcontainer
This commit is contained in:
@@ -2,7 +2,7 @@ FROM dokku/dokku:latest
|
|||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install --no-install-recommends -y build-essential file nano && \
|
RUN apt-get install --no-install-recommends -y build-essential file nano && \
|
||||||
apt-get install --no-install-recommends -y help2man shellcheck uuid-runtime wget xmlstarlet && \
|
apt-get install --no-install-recommends -y software-properties-common help2man shellcheck uuid-runtime wget xmlstarlet && \
|
||||||
apt-get clean autoclean && \
|
apt-get clean autoclean && \
|
||||||
apt-get autoremove --yes && \
|
apt-get autoremove --yes && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|||||||
@@ -637,7 +637,7 @@ convert_to_dockerfile() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
install_pack() {
|
install_pack() {
|
||||||
if ! command -v "pack" &>/dev/null; then
|
if [[ ! -x /usr/bin/pack ]]; then
|
||||||
add-apt-repository --yes ppa:cncf-buildpacks/pack-cli
|
add-apt-repository --yes ppa:cncf-buildpacks/pack-cli
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get --yes install pack-cli
|
apt-get --yes install pack-cli
|
||||||
|
|||||||
Reference in New Issue
Block a user