Skip to content

Commit aff77ed

Browse files
authored
Merge pull request #785 from rstudio/connect-release-2024.05.0
Bump Connect version to 2024.05.0
2 parents bcac2d5 + 58b7526 commit aff77ed

10 files changed

+37
-11
lines changed

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sed_vars := if os() == "macos" { "-i ''" } else { "-i" }
77

88
BUILDX_PATH := ""
99

10-
RSC_VERSION := "2024.04.1"
10+
RSC_VERSION := "2024.05.0"
1111
RSPM_VERSION := "2024.04.0-20"
1212
RSW_VERSION := "2024.04.1+748.pro2"
1313

connect-content-init/Dockerfile.ubuntu2204

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apt-get update && \
99
apt-get install -y --no-install-recommends ca-certificates curl && \
1010
rm -rf /var/lib/apt/lists/*
1111

12-
ARG RSC_VERSION=2024.04.1
12+
ARG RSC_VERSION=2024.05.0
1313
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
1414
RUN mkdir -p /rsc-staging && \
1515
RSC_VERSION_URL=$(echo -n "${RSC_VERSION}" | sed 's/+/%2B/g') && \

connect-content-init/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# Supported tags and respective Dockerfile links
1111

12-
* [`jammy`, `ubuntu2204`, `jammy-2024.04.1`, `ubuntu2204-2024.04.1`](https://github.com/rstudio/rstudio-docker-products/blob/main/connect/Dockerfile.2204)
12+
* [`jammy`, `ubuntu2204`, `jammy-2024.05.0`, `ubuntu2204-2024.05.0`](https://github.com/rstudio/rstudio-docker-products/blob/main/connect/Dockerfile.2204)
1313

1414
# RStudio Connect Content Init Container
1515

@@ -31,7 +31,7 @@ The version of the release package to use can be overridden with the
3131
`RSC_VERSION` build arg.
3232

3333
```console
34-
just build ubuntu2204 2024.04.1
34+
just build ubuntu2204 2024.05.0
3535
```
3636

3737
## Testing
@@ -56,7 +56,7 @@ just test
5656
You can see the different layers that make up the image:
5757

5858
```console
59-
docker history rstudio/rstudio-connect-content-init-preview:2024.04.1-dev-326
59+
docker history rstudio/rstudio-connect-content-init-preview:2024.05.0-dev-326
6060
```
6161

6262
NOTE: almost all the image size is pandoc.

connect/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
RSC_VERSION=2024.04.1
1+
RSC_VERSION=2024.05.0
22
R_VERSION=4.2.3
33
R_VERSION_ALT=4.1.3
44
PYTHON_VERSION=3.9.17

connect/Dockerfile.ubuntu2204

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,26 @@ ARG R_VERSION=4.2.3
77
ARG R_VERSION_ALT=4.1.3
88
ARG PYTHON_VERSION=3.9.17
99
ARG PYTHON_VERSION_ALT=3.8.17
10-
ARG RSC_VERSION=2024.04.1
10+
ARG RSC_VERSION=2024.05.0
1111
ARG QUARTO_VERSION=1.4.552
1212
ARG SCRIPTS_DIR=/opt/positscripts
1313

1414
### Install Quarto ###
1515
RUN QUARTO_VERSION=${QUARTO_VERSION} ${SCRIPTS_DIR}/install_quarto.sh \
1616
&& ln -s /opt/quarto/${QUARTO_VERSION}/bin/quarto /usr/local/bin/quarto
1717

18-
### Install Connect and additional dependencies ###
1918
SHELL [ "/bin/bash", "-o", "pipefail", "-c"]
19+
20+
### Install TensorFlow Serving ###
21+
RUN echo "deb [arch=amd64] http://storage.googleapis.com/tensorflow-serving-apt stable tensorflow-model-server tensorflow-model-server-universal" > /etc/apt/sources.list.d/tensorflow-serving.list && \
22+
curl https://storage.googleapis.com/tensorflow-serving-apt/tensorflow-serving.release.pub.gpg | apt-key add -
23+
RUN apt-get update \
24+
&& apt-get install -yq --no-install-recommends \
25+
tensorflow-model-server-universal \
26+
&& apt-get clean \
27+
&& rm -rf /var/lib/apt/lists/*
28+
29+
### Install Connect and additional dependencies ###
2030
RUN apt-get update --fix-missing \
2131
&& apt-get install -yq --no-install-recommends \
2232
bzip2 \

connect/NEWS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# 2024-05-30
2+
3+
- BREAKING:
4+
- Upgrade installed R versions to 4.4.0 and 4.3.3.
5+
- Upgrade installed Python versions to 3.12.1 and 3.11.7.
6+
- Enables TensorFlow Serving.
7+
- Installs the TensorFlow Serving universal binary.
8+
19
# 2024-04-30
210

311
- BREAKING: Upgrade the default Quarto version to 1.4.552.

connect/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# Supported tags and respective Dockerfile links
99

10-
* [`jammy`, `ubuntu2204`, `jammy-2024.04.1`, `ubuntu2204-2024.04.1`](https://github.com/rstudio/rstudio-docker-products/blob/main/connect/Dockerfile.2204)
10+
* [`jammy`, `ubuntu2204`, `jammy-2024.05.0`, `ubuntu2204-2024.05.0`](https://github.com/rstudio/rstudio-docker-products/blob/main/connect/Dockerfile.2204)
1111

1212
# What is Posit Connect?
1313

connect/rstudio-connect-float.gcfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ Executable = /opt/python/{{PYTHON_VERSION_ALT}}/bin/python
4141
Enabled = true
4242
Executable = /opt/quarto/{{QUARTO_VERSION}}/bin/quarto
4343

44+
[TensorFlow]
45+
Enabled = true
46+
Executable = /usr/bin/tensorflow_model_server
47+
4448
;[RPackageRepository "CRAN"]
4549
;URL = https://demo.rstudiopm.com/all/__linux__/jammy/latest
4650
;

connect/rstudio-connect.gcfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Executable = /opt/python/{{PYTHON_VERSION_ALT}}/bin/python
3737
Enabled = true
3838
Executable = /opt/quarto/{{QUARTO_VERSION}}/bin/quarto
3939

40+
[TensorFlow]
41+
Enabled = true
42+
Executable = /usr/bin/tensorflow_model_server
43+
4044
[RPackageRepository "CRAN"]
4145
URL = https://packagemanager.rstudio.com/cran/__linux__/jammy/latest
4246

docker-bake.hcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Variable definitions ###
22
variable CONNECT_VERSION {
3-
default = "2024.04.1"
3+
default = "2024.05.0"
44
}
55

66
variable PACKAGE_MANAGER_VERSION {
@@ -118,7 +118,7 @@ variable PACKAGE_MANAGER_BUILD_MATRIX {
118118
variable CONNECT_BUILD_MATRIX {
119119
default = {
120120
builds = [
121-
{os = "ubuntu2204", r_primary = "4.2.3", r_alternate = "4.1.3", py_primary = "3.9.17", py_alternate = "3.8.17", quarto = DEFAULT_QUARTO_VERSION},
121+
{os = "ubuntu2204", r_primary = "4.4.0", r_alternate = "4.3.3", py_primary = "3.12.1", py_alternate = "3.11.7", quarto = DEFAULT_QUARTO_VERSION},
122122
]
123123
}
124124
}

0 commit comments

Comments
 (0)