Commit 4fa95c0 1 parent 1474a31 commit 4fa95c0 Copy full SHA for 4fa95c0
File tree 3 files changed +14
-10
lines changed
3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 16
16
# This workflow contains a single job called "build"
17
17
build :
18
18
# The type of runner that the job will run on
19
- runs-on : [ubuntu-24.10-s390x, ubuntu-22.10 -ppc64le]
19
+ runs-on : [ubuntu-24.10-s390x, ubuntu-22.04 -ppc64le]
20
20
# Steps represent a sequence of tasks that will be executed as part of the job
21
21
steps :
22
22
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Original file line number Diff line number Diff line change 1
- FROM ubuntu:24.10
1
+ FROM ubuntu:22.04
2
2
3
3
ARG RUNNERREPO="https://github.com/actions/runner" RUNNERPATCH SDK_VERSION ARCH
4
4
5
5
ENV DEBIAN_FRONTEND=noninteractive
6
6
7
7
RUN apt-get -qq update -y && \
8
- apt-get -qq -y install wget git sudo alien curl dotnet-sdk-8.0 && \
8
+ apt-get -qq -y install wget git sudo alien curl && \
9
9
apt autoclean
10
10
11
- RUN dpkg --install /tmp/*.deb && \
12
- rm -rf /tmp/*.deb && \
11
+ RUN apt-get -qq -y install dotnet-sdk-8.0 && \
13
12
SDK_VERSION=`dotnet --version` && \
14
13
echo "Using SDK - ${SDK_VERSION}"
15
14
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
header () {
3
- echo " +--------------------------------------------+"
4
- echo " | $* "
5
- echo " +--------------------------------------------+"
3
+ TS=` date +" %Y-%m-%dT%H:%M:%S%:z" `
4
+ echo " ${TS} +--------------------------------------------+"
5
+ echo " ${TS} | $* "
6
+ echo " ${TS} +--------------------------------------------+"
6
7
echo
7
8
}
8
9
10
+ msg () {
11
+ echo ` date +" %Y-%m-%dT%H:%M:%S%:z" ` $*
12
+ }
13
+
9
14
# Check if the file name is provided
10
15
if [ -z " $1 " ]; then
11
16
echo " Usage: $0 <package_list.txt>"
@@ -21,7 +26,7 @@ if [ ! -f "$PACKAGE_LIST_FILE" ]; then
21
26
fi
22
27
header " Installing additional packages"
23
28
# Update the package list
24
- echo " Updating package list..."
29
+ msg " Updating package list..."
25
30
sudo DEBIAN_FRONTEND=noninteractive apt-get -qq update -y
26
31
27
32
# installing docker
@@ -52,4 +57,4 @@ while IFS= read -r package || [ -n "$package" ]; do
52
57
fi
53
58
done < " $PACKAGE_LIST_FILE "
54
59
55
- echo " All packages from $PACKAGE_LIST_FILE have been installed."
60
+ msg " All packages from $PACKAGE_LIST_FILE have been installed."
You can’t perform that action at this time.
0 commit comments