Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2022.3.1" />
<PackageReference Include="Scriban.Signed" Version="5.5.2" />
<PackageReference Include="Scriban.Signed" Version="7.2.0" />
Comment thread
VindhyaP312 marked this conversation as resolved.
<PackageReference Include="SemanticVersioning" Version="2.0.2" />
<PackageReference Include="YamlDotNet" Version="12.3.1" />
</ItemGroup>
Expand Down
33 changes: 33 additions & 0 deletions images/build/Dockerfiles/oryxTools.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Oryx Tools - Volume Mount Image
# Packages Oryx build system binaries into a minimal filesystem-only image.
# The image is mounted at /opt/oryx inside Kudu containers at runtime.

ARG BASE_IMAGE
Comment thread
VindhyaP312 marked this conversation as resolved.

FROM ${BASE_IMAGE} AS source

ARG GIT_COMMIT=unspecified
ARG BUILD_NUMBER=unspecified
ARG RELEASE_TAG_NAME=unspecified
ARG DEBIAN_FLAVOR
ARG OS_FLAVOR

# Signed oryx binaries produced by the pipeline build step
COPY binaries /opt/oryx/

# Helper scripts renamed into place
COPY images/build/benv.sh /opt/oryx/benv
COPY images/build/logger.sh /opt/oryx/logger

# Rename main binary, set permissions, write image markers
RUN mv /opt/oryx/GenerateBuildScript /opt/oryx/oryx \
&& chmod a+x /opt/oryx/oryx \
&& chmod a+x /opt/oryx/Microsoft.Oryx.BuildServer \
&& chmod +x /opt/oryx/benv \
&& chmod +x /opt/oryx/logger \
&& echo "volume-mount" > /opt/oryx/.imagetype \
&& echo "DEBIAN|${DEBIAN_FLAVOR}" | tr '[a-z]' '[A-Z]' > /opt/oryx/.ostype
Comment thread
VindhyaP312 marked this conversation as resolved.
Outdated
Comment thread
VindhyaP312 marked this conversation as resolved.
Outdated

FROM scratch

COPY --from=source /opt/oryx/ /
2 changes: 1 addition & 1 deletion src/BuildScriptGenerator/BuildScriptGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<PackageReference Include="Microsoft.Extensions.Options" Version="8.0.0" />
<PackageReference Include="Nett" Version="0.15.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="Scriban.Signed" Version="5.5.2" />
<PackageReference Include="Scriban.Signed" Version="7.2.0" />
Comment thread
VindhyaP312 marked this conversation as resolved.
<PackageReference Include="SemanticVersioning" Version="2.0.2" />
<PackageReference Include="System.CodeDom" Version="7.0.0" />
<PackageReference Include="YamlDotNet" Version="12.3.1" />
Expand Down
Loading