Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changelog: images update part2 #210

Merged
merged 2 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
26 changes: 26 additions & 0 deletions content/changelog/2024-02-27-images-update-part2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: February 2024 images update (part 2)
date: 2024-02-27
tags:
- images
- update
authors:
- name: David Legrand
link: https://github.com/davlgd
image: https://github.com/davlgd.png?size=40
description: New .Net version, Java Elastic/APM agent update
excludeSearch: true
---

Earlier this month, we published [a first set of updates](/changelog/2024-02-02-images-update/) for Docker, Erlang, Go, Haskell, Ruby and Rust. Some days ago, we finished this work and all images are now up-to-date. This process occurred with no impact for our users. As mentioned in a previous post, this enables [the new `healthcheck` feature](/changelog/2024-02-26-healthcheck-for-everyone/) available for all applications.

Check warning on line 15 in content/changelog/2024-02-27-images-update-part2.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-27-images-update-part2.md#L15

[Google.We] Try to avoid using first-person plural like 'we'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'we'.", "location": {"path": "content/changelog/2024-02-27-images-update-part2.md", "range": {"start": {"line": 15, "column": 21}}}, "severity": "WARNING"}

Check warning on line 15 in content/changelog/2024-02-27-images-update-part2.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-27-images-update-part2.md#L15

[Google.We] Try to avoid using first-person plural like 'we'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'we'.", "location": {"path": "content/changelog/2024-02-27-images-update-part2.md", "range": {"start": {"line": 15, "column": 160}}}, "severity": "WARNING"}

Check warning on line 15 in content/changelog/2024-02-27-images-update-part2.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-27-images-update-part2.md#L15

[Google.We] Try to avoid using first-person plural like 'our'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'our'.", "location": {"path": "content/changelog/2024-02-27-images-update-part2.md", "range": {"start": {"line": 15, "column": 258}}}, "severity": "WARNING"}

New images include security patches, Linux kernel 6.7.1, OpenSSL 3.2.1 and Node.js 20.11.0 by default. For the latter, you can set it via the `CC_NODE_VERSION` [environment variable](/doc/reference/reference-environment-variables/#commons-to-all-applications). Other changes are as follows:

* **.Net:**
* Version 8.0 support
* `CC_DOTNET_VERSION` [environment variable](/doc/reference/reference-environment-variables/#net) can be `6.0` or `8.0`
* **Java - Elastic / APM:**

Check notice on line 22 in content/changelog/2024-02-27-images-update-part2.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-27-images-update-part2.md#L22

[Google.Acronyms] Spell out 'APM', if it's unfamiliar to the audience.
Raw output
{"message": "[Google.Acronyms] Spell out 'APM', if it's unfamiliar to the audience.", "location": {"path": "content/changelog/2024-02-27-images-update-part2.md", "range": {"start": {"line": 22, "column": 22}}}, "severity": "INFO"}
* The agent has been updated to 1.47.1

Check notice on line 23 in content/changelog/2024-02-27-images-update-part2.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-27-images-update-part2.md#L23

[Google.Passive] In general, use active voice instead of passive voice ('been updated').
Raw output
{"message": "[Google.Passive] In general, use active voice instead of passive voice ('been updated').", "location": {"path": "content/changelog/2024-02-27-images-update-part2.md", "range": {"start": {"line": 23, "column": 19}}}, "severity": "INFO"}
* Java 21 support

New PHP image is next to come, with 8.3 version support, we're currently working on it. After that, we'll bring our new strategy to build images into production. We're currently testing it, and preparing enhancements for multiples runtimes. Your applications will automatically benefit from it when available. [Stay tuned](/changelog/index.xml).

Check warning on line 26 in content/changelog/2024-02-27-images-update-part2.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-27-images-update-part2.md#L26

[Google.We] Try to avoid using first-person plural like 'we'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'we'.", "location": {"path": "content/changelog/2024-02-27-images-update-part2.md", "range": {"start": {"line": 26, "column": 58}}}, "severity": "WARNING"}

Check warning on line 26 in content/changelog/2024-02-27-images-update-part2.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-27-images-update-part2.md#L26

[Google.We] Try to avoid using first-person plural like 'we'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'we'.", "location": {"path": "content/changelog/2024-02-27-images-update-part2.md", "range": {"start": {"line": 26, "column": 101}}}, "severity": "WARNING"}

Check warning on line 26 in content/changelog/2024-02-27-images-update-part2.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-27-images-update-part2.md#L26

[Google.We] Try to avoid using first-person plural like 'our'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'our'.", "location": {"path": "content/changelog/2024-02-27-images-update-part2.md", "range": {"start": {"line": 26, "column": 113}}}, "severity": "WARNING"}

Check warning on line 26 in content/changelog/2024-02-27-images-update-part2.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-27-images-update-part2.md#L26

[Google.We] Try to avoid using first-person plural like 'We'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'We'.", "location": {"path": "content/changelog/2024-02-27-images-update-part2.md", "range": {"start": {"line": 26, "column": 163}}}, "severity": "WARNING"}

Check warning on line 26 in content/changelog/2024-02-27-images-update-part2.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2024-02-27-images-update-part2.md#L26

[Google.Will] Avoid using 'will'.
Raw output
{"message": "[Google.Will] Avoid using 'will'.", "location": {"path": "content/changelog/2024-02-27-images-update-part2.md", "range": {"start": {"line": 26, "column": 260}}}, "severity": "WARNING"}
12 changes: 6 additions & 6 deletions content/doc/applications/dotnet/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

### .NET version

The default version used on Clever Cloud is `6.0`. You can change it to `5.0` by setting the `CC_DOTNET_VERSION` environment variable to `5.0`. No support will be provided for end-of-life versions.
The default version used on Clever Cloud is `8.0`. You can change it by setting the `CC_DOTNET_VERSION` environment variable to `6.0`. We don't support non-LTS and older versions.

Check warning on line 39 in content/doc/applications/dotnet/_index.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/doc/applications/dotnet/_index.md#L39

[Google.We] Try to avoid using first-person plural like 'We'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'We'.", "location": {"path": "content/doc/applications/dotnet/_index.md", "range": {"start": {"line": 39, "column": 136}}}, "severity": "WARNING"}

Check notice on line 39 in content/doc/applications/dotnet/_index.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/doc/applications/dotnet/_index.md#L39

[Google.Acronyms] Spell out 'LTS', if it's unfamiliar to the audience.
Raw output
{"message": "[Google.Acronyms] Spell out 'LTS', if it's unfamiliar to the audience.", "location": {"path": "content/doc/applications/dotnet/_index.md", "range": {"start": {"line": 39, "column": 157}}}, "severity": "INFO"}

### Requirements

Expand All @@ -50,10 +50,10 @@

First, you need to add the `APP_FOLDER=SimpleFeedReader` environment variable to define the application folder inside the Git repository.

During deployment, the `SimpleFeedReader.csproj` file and the target framework `net5.0` are automatically detected. Then, the .NET project is published:
During deployment, the runtime automatically detects the `SimpleFeedReader.csproj` file and the target framework `net8.0`. Then, it publishes the .NET project:

```bash
dotnet publish --framework net5.0 --configuration Release
dotnet publish --framework net8.0 --configuration Release
```

No additional configuration is required (unless multiple project files or target frameworks are present, see the documentation below).
Expand All @@ -74,7 +74,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net5.0;net6.0</TargetFramework>
<TargetFramework>net6.0;net8.0</TargetFramework>
</PropertyGroup>
...
```
Expand All @@ -84,7 +84,7 @@
If `CC_DOTNET_TFM` is specified, then the executable produced by this target is used to start the application.

```bash
CC_DOTNET_TFM=net5.0
CC_DOTNET_TFM=net6.0
```

### Dependencies
Expand Down Expand Up @@ -117,7 +117,7 @@

If you need to run a custom command (or just pass options to the program), you can specify it through the `CC_RUN_COMMAND` environment variable.

For instance, you can have `CC_RUN_COMMAND=./bin/Release/net5.0/myapp <options>`.
For instance, you can have `CC_RUN_COMMAND=./bin/Release/net6.0/myapp <options>`.

### Private dependencies

Expand Down
2 changes: 1 addition & 1 deletion content/doc/reference/reference-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ If `TAILSCALE_LOGIN_SERVER` is provided, the agent will be configured to reach a
|`CC_DOTNET_PROFILE` | Override the build configuration settings in your project. | Release |
|`CC_DOTNET_PROJ` | The name of your project file to use for the build, without the .csproj / .fsproj / .vbproj extension. | |
|`CC_DOTNET_TFM` | Compiles for a specific framework. The framework must be defined in the project file. Example : `net5.0` | |
|`CC_DOTNET_VERSION` | Choose the .NET Core version between `5.0`,`6.0`. | 6.0 |
|`CC_DOTNET_VERSION` | Choose the .NET Core version between `6.0`,`8.0`. | 8.0 |
|`CC_RUN_COMMAND` | Custom command to run your application. | |

## Elixir
Expand Down
Loading