Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mastodon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Mastodon
Commits
c0c7af21
Commit
c0c7af21
authored
7 years ago
by
Yamagishi Kazutoshi
Committed by
Eugen Rochko
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Download npm and yarn from Alpine packages repository (#4242)
parent
f5382ec0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+2
-1
2 additions, 1 deletion
Dockerfile
with
2 additions
and
1 deletion
Dockerfile
+
2
−
1
View file @
c0c7af21
...
@@ -12,6 +12,7 @@ EXPOSE 3000 4000
...
@@ -12,6 +12,7 @@ EXPOSE 3000 4000
WORKDIR
/mastodon
WORKDIR
/mastodon
RUN
echo
"@edge https://nl.alpinelinux.org/alpine/edge/main"
>>
/etc/apk/repositories
\
RUN
echo
"@edge https://nl.alpinelinux.org/alpine/edge/main"
>>
/etc/apk/repositories
\
&&
echo
"@edge https://nl.alpinelinux.org/alpine/edge/community"
>>
/etc/apk/repositories
\
&&
apk
-U
upgrade
\
&&
apk
-U
upgrade
\
&&
apk add
-t
build-dependencies
\
&&
apk add
-t
build-dependencies
\
build-base
\
build-base
\
...
@@ -38,7 +39,7 @@ RUN echo "@edge https://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/reposit
...
@@ -38,7 +39,7 @@ RUN echo "@edge https://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/reposit
protobuf
\
protobuf
\
su-exec
\
su-exec
\
tini
\
tini
\
&&
npm
install
-g
npm@3
&&
npm
install
-g
yarn
\
yarn@edge
\
&&
update-ca-certificates
\
&&
update-ca-certificates
\
&&
rm
-rf
/tmp/
*
/var/cache/apk/
*
&&
rm
-rf
/tmp/
*
/var/cache/apk/
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment