made dockerfile build. was breaking in two places: #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Step 3 : RUN apt-get install -y sudo openssh-server curl lsb-release git
---> Running in 03ef4028544a
Reading package lists...
Building dependency tree...
Reading state information...
Package openssh-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package lsb-release is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
base-files
E: Unable to locate package sudo
E: Package 'openssh-server' has no installation candidate
E: Unable to locate package curl
E: Package 'lsb-release' has no installation candidate
E: Unable to locate package git
Step 6 : RUN ln -s /bin/true /sbin/initctl
---> Running in 933b6238e344
ln: failed to create symbolic link `/sbin/initctl': File exists
Soutions are to simply add an apt-get update before installing any packages and to use -f flag when creating a symlink to unlink if exists and relink.