You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/guides/dotnet/develop.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -307,19 +307,19 @@ The following is the updated Dockerfile.
307
307
```Dockerfile {hl_lines="10-13"}
308
308
# syntax=docker/dockerfile:1
309
309
310
-
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:6.0-alpine AS build
310
+
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
311
311
ARG TARGETARCH
312
312
COPY . /source
313
313
WORKDIR /source/src
314
314
RUN --mount=type=cache,id=nuget,target=/root/.nuget/packages \
315
315
dotnet publish -a ${TARGETARCH/amd64/x64} --use-current-runtime --self-contained false -o /app
316
316
317
-
FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine AS development
317
+
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS development
318
318
COPY . /source
319
319
WORKDIR /source/src
320
320
CMD dotnet run --no-launch-profile
321
321
322
-
FROM mcr.microsoft.com/dotnet/aspnet:6.0-alpine AS final
322
+
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS final
323
323
WORKDIR /app
324
324
COPY --from=build /app .
325
325
ARG UID=10001
@@ -380,7 +380,7 @@ secrets:
380
380
file: db/password.txt
381
381
```
382
382
383
-
Your containerized application will now use the `mcr.microsoft.com/dotnet/sdk:6.0-alpine` image, which includes development tools like `dotnet test`. Continue to the next section to learn how you can run `dotnet test`.
383
+
Your containerized application will now use the `mcr.microsoft.com/dotnet/sdk:8.0-alpine` image, which includes development tools like `dotnet test`. Continue to the next section to learn how you can run `dotnet test`.
Copy file name to clipboardExpand all lines: content/manuals/build/exporters/image-registry.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ The following table describes the available parameters that you can pass to
37
37
|`force-compression`|`true`,`false`|`false`| Forcefully apply compression, see [compression][1]|
38
38
|`rewrite-timestamp`|`true`,`false`|`false`| Rewrite the file timestamps to the `SOURCE_DATE_EPOCH` value. See [build reproducibility][4] for how to specify the `SOURCE_DATE_EPOCH` value. |
39
39
|`oci-mediatypes`|`true`,`false`|`false`| Use OCI media types in exporter manifests, see [OCI Media types][2]|
40
+
|`oci-artifact`|`true`,`false`|`false`| Attestations are formatted as OCI artifacts, see [OCI Media types][2]|
40
41
|`unpack`|`true`,`false`|`false`| Unpack image after creation (for use with containerd) |
41
42
|`store`|`true`,`false`|`true`| Store the result images to the worker's (for example, containerd) image store, and ensures that the image has all blobs in the content store. Ignored if the worker doesn't have image store (when using OCI workers, for example). |
42
43
|`annotation.<key>`| String || Attach an annotation with the respective `key` and `value` to the built image,see [annotations][3]|
@@ -45,6 +46,7 @@ The following table describes the available parameters that you can pass to
0 commit comments