File tree 1 file changed +9
-15
lines changed
1 file changed +9
-15
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu:22 .04
1
+ FROM ubuntu:24 .04
2
2
3
- # Specifically use bats 1.7.0
4
- # Remove git when we're done with it.
5
- # Test runner needs jq.
3
+ # Ubuntu 24.04 'noble numbat' gets us:
4
+ # gawk v5.2.1 https://launchpad.net/ubuntu/noble/+source/gawk
5
+ # jq v1.7.1 https://launchpad.net/ubuntu/noble/+source/jq
6
+ # bats v1.10.0 https://launchpad.net/ubuntu/noble/+source/bats
6
7
7
- RUN apt-get update && \
8
- apt-get install -y gawk jq git && \
9
- git clone https://github.com/bats-core/bats-core && \
10
- cd bats-core && \
11
- git checkout v1.7.0 && \
12
- bash ./install.sh /usr/local && \
13
- cd .. && \
14
- rm -rf ./bats-core && \
15
- apt-get remove -y git && \
16
- apt-get purge --auto-remove -y && \
17
- apt-get clean && \
8
+ RUN apt-get update && \
9
+ apt-get install -y gawk jq bats && \
10
+ apt-get purge --auto-remove -y && \
11
+ apt-get clean && \
18
12
rm -rf /var/lib/apt/lists/*
19
13
20
14
WORKDIR /opt/test-runner
You can’t perform that action at this time.
0 commit comments