Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0ad43af

Browse files
committed
Removed typo fix as the real c luprit was an overly aggressive .dockeringore file. sudoers and confg should not have been entries in this file; hence, they were removed.
1 parent b789916 commit 0ad43af

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.dockerignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ fabric.properties
2828

2929

3030
# non-docker project files
31-
sudoers
3231
.gitignore
33-
config
3432
LICENSE
3533
README.md

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ RUN apt-get update -qq \
5858
&& chmod a+rwx /etc/sudoers \
5959
&& rm -rf /etc/sudoers
6060

61-
COPY ./sudoers /etc/sudoers
61+
COPY sudoers /etc/sudoers
6262

6363
# the chmod command locks down the sudoers file so the sudo commmand will work.
6464
# membership in the staff allows one to execute sdkman installed commands

0 commit comments

Comments
 (0)