Skip to content

Commit 1196746

Browse files
micromaomaobrdeyo
andauthored
Fix Packaging/dockerfiles/linux-x64.dockerfile and update to use Ubuntu 22.04 (#437)
It didn't work for me out of the box because the compiled VirtualClient binary wasn't in a publish subdirectory. Some profiles's package installation actions require lsb-release, sudo, wget, and gnupg, so add them to the Dockerfile. Update to Ubuntu 22.04 since that's what VirtualClient supports. Signed-off-by: Bryan DeYoung <35380894+brdeyo@users.noreply.github.com> Co-authored-by: Bryan DeYoung <35380894+brdeyo@users.noreply.github.com>
1 parent 1d1133a commit 1196746

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
ARG REPO=mcr.microsoft.com/dotnet/runtime
2-
# Ubuntu 20.04 image.
3-
FROM ${REPO}:5.0.9-focal-amd64
2+
# Ubuntu 22.04 image.
3+
FROM ${REPO}:8.0-jammy-amd64
4+
# VirtualClient dependencies.
5+
RUN apt-get update -y && apt-get install -y lsb-release sudo wget gnupg
46

5-
COPY out/bin/Release/x64/VirtualClient.Main/net9.0/linux-x64/publish/. ./VirtualClient/
7+
COPY out/bin/Release/x64/VirtualClient.Main/net8.0/linux-x64/. ./VirtualClient/

0 commit comments

Comments
 (0)