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:
369
369
370
370
` ` ` sh
371
371
docker 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
+
373
374
` ` `
374
375
375
376
# ### 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
2
2
3
3
FROM ${base_image} AS resource
4
4
5
5
RUN apt update && apt upgrade -y -o Dpkg::Options::="--force-confdef"
6
6
RUN apt install -y --no-install-recommends \
7
7
curl \
8
+ git \
9
+ git-lfs \
8
10
gnupg \
9
11
gzip \
10
12
jq \
@@ -16,14 +18,6 @@ RUN apt install -y --no-install-recommends \
16
18
libstdc++6 \
17
19
software-properties-common
18
20
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
-
27
21
WORKDIR /root
28
22
RUN git clone https://github.com/proxytunnel/proxytunnel.git && \
29
23
cd proxytunnel && \
You can’t perform that action at this time.
0 commit comments