File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed
Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,8 @@ Run the tests with the following commands for both `alpine` and `ubuntu` images:
369369
370370` ` ` sh
371371docker build -t git-resource --target tests -f dockerfiles/alpine/Dockerfile .
372- docker build -t git-resource --target tests -f dockerfiles/ubuntu/Dockerfile .
372+ docker build -t registry-image-resource --target tests -f dockerfiles/ubuntu/Dockerfile --build-arg base_image=ubuntu:latest .
373+
373374` ` `
374375
375376# ### Note about the integration tests
Original file line number Diff line number Diff line change 1- ARG base_image=ubuntu:bionic
1+ ARG base_image
22
33FROM ${base_image} AS resource
44
55RUN apt update && apt upgrade -y -o Dpkg::Options::="--force-confdef"
66RUN apt install -y --no-install-recommends \
77 curl \
8+ git \
9+ git-lfs \
810 gnupg \
911 gzip \
1012 jq \
@@ -16,14 +18,6 @@ RUN apt install -y --no-install-recommends \
1618 libstdc++6 \
1719 software-properties-common
1820
19- RUN apt-add-repository ppa:git-core/ppa \
20- && apt update \
21- && apt install -y git \
22- && rm -rf /var/lib/apt/lists/*
23-
24- RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
25- RUN apt install -y git-lfs
26-
2721WORKDIR /root
2822RUN git clone https://github.com/proxytunnel/proxytunnel.git && \
2923 cd proxytunnel && \
You can’t perform that action at this time.
0 commit comments