Skip to content

Commit 1af870c

Browse files
committed
remove USER mpiuser
1 parent 7a943a2 commit 1af870c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ssh-container/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ARG USER_GID=1234
88
ENV USER_UID=${USER_UID}
99
ENV USER_GID=${USER_GID}
1010

11-
ENV USER="mpiuser"
11+
# ENV USER="mpiuser"
1212
ENV SESSION_DIR="/home/mpiuser/ssh-session"
1313
ENV KEYS_DIR="/home/mpiuser/ssh-session/keys"
1414

@@ -46,7 +46,7 @@ RUN chmod 600 ${KEYS_DIR}/ssh_host_rsa_key && \
4646
chmod 700 /home/mpiuser/.ssh && \
4747
chown -R ${USER_UID}:${USER_GID} /home/mpiuser
4848

49-
USER mpiuser
49+
# USER mpiuser
5050
WORKDIR /home/mpiuser
5151

5252
# Configure SSH - port is set at runtime so we don't hardcode it here

ssh-container/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ docker push your-registry.com/ssh-container:latest
3131
Create a profile referencing your published image:
3232

3333
```yaml
34-
apiVersion: nnf.cray.hpe.com/v1alpha1
34+
apiVersion: nnf.cray.hpe.com/v1alpha7
3535
kind: NnfContainerProfile
3636
metadata:
3737
name: ssh-container-profile

0 commit comments

Comments
 (0)