diff --git a/containers/oneapi/onedev.Dockerfile b/containers/oneapi/onedev.Dockerfile
index b113a02e9ccf1e2a6978cc21ff481e2dde5c58a3..a6e95ae160ebc153e4b4a33795932cc818a2425f 100644
--- a/containers/oneapi/onedev.Dockerfile
+++ b/containers/oneapi/onedev.Dockerfile
@@ -250,7 +250,7 @@ ENV CLICOLOR_FORCE=1                                                    \
 ## Install additional packages. Remove the auto-cleanup functionality
 ## for docker, as we're using the new buildkit cache instead.
 ## We install gcc-10 and g++-10 as they are not installed by default in
-## Ubuntu 20.04. Install CUDA runtime libraries.
+## Ubuntu 20.04.
 ## TODO: libyaml-cpp-dev is a dependency for afterburner. We can probably remove
 ##       this once afterburner is added to spack
 RUN --mount=type=cache,target=/var/cache/apt                            \
@@ -322,7 +322,7 @@ RUN --mount=type=cache,target=/var/cache/apt                            \
         cuda-cudart-11-7                                                \
         cuda-compat-11-7                                                \
  && apt-get -yqq autoremove                                             \
- && ln -s cuda-11.7 /usr/local/cuda &&                                  \
+ && ln -s cuda-11.7 /usr/local/cuda                                     \
  && rm -rf /var/lib/apt/lists/*                                         
 
 ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}