-
Notifications
You must be signed in to change notification settings - Fork 3
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
update go.mod #3
Conversation
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.
r+ once nits fixed
apt update | ||
apt install -y libltdl-dev netcat | ||
apt install -y libltdl-dev netcat clang | ||
apt-get -y -t stretch-backports install git |
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.
interesting that git isn't in the mainline repo
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.
yeah 2.18 was just released in Jun. I think vgo is using Transfer protocol v2 for partial clones.
Dockerfile
Outdated
@@ -3,13 +3,14 @@ MAINTAINER Mozilla | |||
EXPOSE 8080 | |||
|
|||
RUN addgroup --gid 10001 app && \ | |||
|
|||
# \ |
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.
remove this
Dockerfile
Outdated
adduser --gid 10001 --uid 10001 \ | ||
--home /app --shell /sbin/nologin \ | ||
--disabled-password app && \ | ||
|
||
# \ |
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.
and this. and maybe make the apt
stuff a separate RUN
step
refs: https://bugzilla.mozilla.org/show_bug.cgi?id=1477319 for autograph 1.0.2 deploy (I'll need to tag a new release and update the bug)
Changes:
go.sum
vgo build
run as part ofvgo install
passesr? @milescrabill