Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
337
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
25
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TransFem.org
Sharkey
Commits
417e75b4
Unverified
Commit
417e75b4
authored
2 years ago
by
MeiMei
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
DockerでAlpineではなくDebianを使用するように (#8966)
* Debian * CHANGELOG * Update CHANGELOG
parent
48178360
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+8
-0
8 additions, 0 deletions
CHANGELOG.md
Dockerfile
+12
-16
12 additions, 16 deletions
Dockerfile
with
20 additions
and
16 deletions
CHANGELOG.md
+
8
−
0
View file @
417e75b4
...
@@ -9,6 +9,14 @@
...
@@ -9,6 +9,14 @@
You should also include the user name that made the change.
You should also include the user name that made the change.
-->
-->
## 12.x.x (unreleased)
### Improvements
### Bugfixes
-
Fix Docker doesn't work @mei23
Still not working on arm64 environment. (See 12.112.0)
## 12.112.1 (2022/07/07)
## 12.112.1 (2022/07/07)
same as 12.112.0
same as 12.112.0
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
12
−
16
View file @
417e75b4
FROM
node:1
8.0.0-alpine3.15
AS
base
FROM
node:1
6.15.1-bullseye
AS
builder
ARG
NODE_ENV=production
ARG
NODE_ENV=production
WORKDIR
/misskey
WORKDIR
/misskey
ENV
BUILD_DEPS autoconf automake file g++ gcc libc-dev libtool make nasm pkgconfig python3 zlib-dev git
FROM
base
AS
builder
COPY
. ./
COPY
. ./
RUN
apk add
--no-cache
$BUILD_DEPS
&&
\
RUN
apt-get update
git submodule update
--init
&&
\
RUN
apt-get
install
-y
build-essential
yarn
install
&&
\
RUN
git submodule update
--init
yarn build
&&
\
RUN
yarn
install
rm
-rf
.git
RUN
yarn build
RUN
rm
-rf
.git
FROM
base
AS
runner
FROM
node:16.15.1-bullseye-slim
AS
runner
RUN
apk add
--no-cache
\
WORKDIR
/misskey
ffmpeg
\
tini
ENTRYPOINT
["/sbin/tini", "--"]
RUN
apt-get update
RUN
apt-get
install
-y
ffmpeg tini
COPY
--from=builder /misskey/node_modules ./node_modules
COPY
--from=builder /misskey/node_modules ./node_modules
COPY
--from=builder /misskey/built ./built
COPY
--from=builder /misskey/built ./built
...
@@ -32,5 +28,5 @@ COPY --from=builder /misskey/packages/client/node_modules ./packages/client/node
...
@@ -32,5 +28,5 @@ COPY --from=builder /misskey/packages/client/node_modules ./packages/client/node
COPY
. ./
COPY
. ./
ENV
NODE_ENV=production
ENV
NODE_ENV=production
ENTRYPOINT
["/usr/bin/tini", "--"]
CMD
["npm", "run", "migrateandstart"]
CMD
["npm", "run", "migrateandstart"]
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