Skip to content

Commit edb8be4

Browse files
authored
resolves #296 use Ubuntu 22.04 by default (#334)
1 parent 4f22719 commit edb8be4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/advanced-build-options.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,9 @@ ue4-docker build RELEASE --cuda
248248

249249
[source,shell]
250250
----
251-
# Uses the CUDA 10.0 base image
252-
ue4-docker build RELEASE --cuda=10.0
251+
# Uses the CUDA 12.2.0 base image
252+
ue4-docker build RELEASE --cuda=12.2.0
253253
{% endhighlight %}
254254
----
255255

256-
For a list of supported CUDA versions, see the list of Ubuntu 18.04 image tags for the https://hub.docker.com/r/nvidia/cuda/[nvidia/cuda] base image.
256+
For a list of supported CUDA versions, see the list of Ubuntu 22.04 image tags for the https://hub.docker.com/r/nvidia/cuda/[nvidia/cuda] base image.

docs/ue4-docker-build.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ See the xref:available-container-images.adoc[List of available container images]
3434

3535
*-basetag* _basetag_::
3636
Operating system base image tag to use.
37-
For Linux this is the version of Ubuntu (default is ubuntu18.04).
37+
For Linux this is the version of Ubuntu (default is ubuntu22.04).
3838
For Windows this is the Windows Server Core base image tag (default is the host OS version)
3939

4040
*-branch* _branch_::

src/ue4docker/infrastructure/BuildConfiguration.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
}
1919

2020
# The default ubuntu base to use
21-
DEFAULT_LINUX_VERSION = "ubuntu18.04"
21+
DEFAULT_LINUX_VERSION = "ubuntu22.04"
2222

2323
# The default CUDA version to use when `--cuda` is specified without a value
24-
DEFAULT_CUDA_VERSION = "11.4"
24+
DEFAULT_CUDA_VERSION = "12.2.0"
2525

2626
# The default memory limit (in GB) under Windows
2727
DEFAULT_MEMORY_LIMIT = 10.0
@@ -206,7 +206,7 @@ def addArguments(parser):
206206
parser.add_argument(
207207
"-basetag",
208208
default=None if platform.system() == "Windows" else DEFAULT_LINUX_VERSION,
209-
help="Operating system base image tag to use. For Linux this is the version of Ubuntu (default is ubuntu18.04). "
209+
help="Operating system base image tag to use. For Linux this is the version of Ubuntu (default is ubuntu22.04). "
210210
"For Windows this is the Windows Server Core base image tag (default is the host OS version)",
211211
)
212212
parser.add_argument(

0 commit comments

Comments
 (0)