-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install from local packages #21
Conversation
698b74d
to
8282e30
Compare
else | ||
wget -q -O - https://packagecloud.io/install/repositories/iofog/iofog-agent/script.deb.sh | bash | ||
apt-get install iofog-agent | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe there is a way not to have these scripts inside the Dockerfile. The Dockerfile can be the same - just give it some package. It doesn't care where it comes from. Then the script can be outside and Dockerfile can just COPY and RUN dpkg -i
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would also mean the ARG LOCAL_CONNECTOR_PACKAGE
is not needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really possible wget -q -O - https://packagecloud.io/install/repositories/iofog/iofog-agent/script.deb.sh | bash
Actually sets the apt-get repo list. It does not directly download a .deb file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should do the trick
https://packagecloud.io/install/repositories/iofog/iofog-agent/script.deb.sh | bash
apt-get download iofog-agent
No description provided.