Skip to content

Commit 9e21fc3

Browse files
authored
Update linux-amd64.dockerfile
1 parent 0a1b35e commit 9e21fc3

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

docker/linux-amd64.dockerfile

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,28 @@
11
# --platform linux/amd64
2-
FROM debian:bullseye-slim
2+
FROM amd64/alpine
33

44
# Install dependencies
5-
RUN apt-get update && apt-get install -y curl libicu67 libssl1.1 libunwind8
5+
RUN apk add --no-cache \
6+
ca-certificates \
7+
less \
8+
ncurses-terminfo-base \
9+
krb5-libs \
10+
libgcc \
11+
libintl \
12+
libssl3 \
13+
libstdc++ \
14+
tzdata \
15+
userspace-rcu \
16+
zlib \
17+
icu-libs \
18+
curl
19+
20+
RUN apk -X https://dl-cdn.alpinelinux.org/alpine/edge/main add --no-cache \
21+
lttng-ust \
22+
openssh-client
623

724
# Download and install PowerShell
8-
RUN curl -L -o powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-linux-x64.tar.gz \
25+
RUN curl -L -o powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-linux-musl-x64.tar.gz \
926
&& mkdir -p /opt/microsoft/powershell/7 \
1027
&& tar -xvf powershell.tar.gz -C /opt/microsoft/powershell/7 \
1128
&& rm powershell.tar.gz \

0 commit comments

Comments
 (0)