Skip to content

Commit

Permalink
Fix RPM installing on Ubuntu-22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
paveliak committed Feb 27, 2024
1 parent 89b5018 commit 6dfd9cd
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/azbridge/azbridge.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@
<!-- Linux -->
<ItemGroup Condition="$(RuntimeIdentifier.StartsWith('linux'))">
<DebDependency Include="ca-certificates" Version="" />

<!-- Workaround for https://github.com/quamotion/dotnet-packaging/issues/222 (Support libssl3 for Ubuntu 22.04) -->
<DebDotNetDependencies Remove="libssl1.1 | libssl1.0.2 | libssl1.0.1 | libssl1.0.0 | libssl0.9.8"/>
<DebDotNetDependencies Include="libssl3 | libssl1.1 | libssl1.0.2 | libssl1.0.1 | libssl1.0.0 | libssl0.9.8"/>
</ItemGroup>

<!-- Linux Daemon install properties -->
Expand Down
2 changes: 1 addition & 1 deletion test/nginx/Test.proj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="Directory.Build.props" />
<PropertyGroup>
<OutputType>None</OutputType>
<UnixRuntimeIdentifiers>osx-x64;osx-arm64;debian.10-x64;ubuntu.18.04-x64;ubuntu.18.04-arm64;ubuntu.20.04-x64;ubuntu.20.04-arm64;opensuse.15.0-x64;fedora.34-x64;centos.9-x64</UnixRuntimeIdentifiers>
<UnixRuntimeIdentifiers>osx-x64;osx-arm64;debian.10-x64;ubuntu.18.04-x64;ubuntu.18.04-arm64;ubuntu.20.04-x64;ubuntu.20.04-arm64;ubuntu.22.04-x64;ubuntu.22.04-arm64;opensuse.15.0-x64;fedora.34-x64;centos.9-x64</UnixRuntimeIdentifiers>
</PropertyGroup>

<PropertyGroup>
Expand Down
9 changes: 9 additions & 0 deletions test/nginx/ubuntu.22.04-x64.client.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM ubuntu:22.04 AS build1
RUN apt-get -qq update -y >/dev/null
RUN apt-get -qq install -y wget >/dev/null

FROM build1 AS build2
ARG package_name
COPY ./tmp/$package_name .
RUN apt-get -qq install -y ./$package_name

9 changes: 9 additions & 0 deletions test/nginx/ubuntu.22.04-x64.server.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM ubuntu:22.04 AS build1
RUN apt-get -qq update -y
RUN apt-get -qq install -y nginx >/dev/null
COPY index.html /var/www/html

FROM build1 AS build2
ARG package_name
COPY ./tmp/$package_name .
RUN apt-get -qq install -y ./$package_name

0 comments on commit 6dfd9cd

Please sign in to comment.