Skip to content

Commit 7e756c8

Browse files
committed
feat: Update READMES
feat: Update READMes feat: Update READMES feat: Update READMes feat: Update READMES feat: Update READMes feat: Update READMES feat: Update READMes feat: Update READMES feat: Update READMes feat: Update READMES feat: Update READMes
1 parent 629f16a commit 7e756c8

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

docker-compose/Dockerfile.ssh-external-test

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,16 @@ RUN mkdir -p /etc/opk /home/testuser/.opk && \
2929
chmod 700 /home/testuser/.opk && \
3030
chmod 755 /etc/opk
3131

32+
COPY opk-providers-azure/providers /etc/opk/providers
33+
COPY opk-auth_id-azure/auth_id /etc/opk/auth_id
34+
35+
RUN chown root:opksshuser /etc/opk/providers /etc/opk/auth_id && \
36+
chmod 640 /etc/opk/providers /etc/opk/auth_id
37+
3238
RUN touch /var/log/opkssh.log && \
3339
chown root:opksshuser /var/log/opkssh.log && \
3440
chmod 660 /var/log/opkssh.log
3541

3642
EXPOSE 2222
3743

38-
CMD sh -c "touch /var/log/opkssh.log && chown root:opksshuser /var/log/opkssh.log && chmod 660 /var/log/opkssh.log && chmod 640 /etc/opk/providers /etc/opk/auth_id && /usr/sbin/sshd -D -p 2222"
44+
CMD /usr/sbin/sshd -D -p 2222

docker-compose/docker-compose.external-test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ services:
88
container_name: ssh-external-test
99
ports:
1010
- "2223:2222"
11-
volumes:
12-
- ./opk-providers-azure/providers:/etc/opk/providers
13-
- ./opk-auth_id-azure/auth_id:/etc/opk/auth_id
1411
networks:
1512
- external-test-net
1613

0 commit comments

Comments
 (0)