Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
a1c3d633
You need to sign in or sign up before continuing.
Commit
a1c3d633
authored
Jan 19, 2019
by
Nicolas Giard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc: remove publishing docker build step
parent
d3d8a78e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
33 deletions
+1
-33
Dockerfile
dev/build/Dockerfile
+1
-33
No files found.
dev/build/Dockerfile
View file @
a1c3d633
...
@@ -5,8 +5,7 @@ FROM node:10.15-alpine AS assets
...
@@ -5,8 +5,7 @@ FROM node:10.15-alpine AS assets
RUN
apk update
&&
\
RUN
apk update
&&
\
apk add yarn g++ make python
--no-cache
&&
\
apk add yarn g++ make python
--no-cache
&&
\
rm
-rf
/var/cache/apk/
*
&&
\
rm
-rf
/var/cache/apk/
*
mkdir
-p
/wiki
WORKDIR
/wiki
WORKDIR
/wiki
...
@@ -22,37 +21,6 @@ RUN yarn build
...
@@ -22,37 +21,6 @@ RUN yarn build
RUN
rm
-rf
/wiki/node_modules
RUN
rm
-rf
/wiki/node_modules
RUN
yarn
--production
RUN
yarn
--production
# =========================
# --- Publish to GitHub ---
# =========================
FROM
alpine AS publishing
RUN
apk
--update
add git jq openssh hub
tar
&&
\
rm
-rf
/var/cache/apk/
*
WORKDIR
/wiki
COPY
--from=assets /wiki/assets ./assets
COPY
--from=assets /wiki/node_modules ./node_modules
COPY
./server ./server
COPY
--from=assets /wiki/server/views ./server/views
COPY
./config.sample.yml ./config.sample.yml
COPY
./package.json ./package.json
COPY
./LICENSE ./LICENSE
RUN
BUILDNUM
=
$(
jq
-r
'.version'
package.json
)
WORKDIR
/
RUN
tar
-czf
wiki-js.tar.gz /wiki
RUN
mv
wiki-js.tar.gz /wiki
WORKDIR
/wiki
RUN
hub init
-g
"Requarks/wiki"
RUN
hub create
-p
-a
wiki-js.tar.gz
-m
"See [CHANGELOG](https://github.com/Requarks/wiki/blob/master/CHANGELOG.md) for release notes"
-t
$CF_REVISION
$BUILDNUM
# ===============
# ===============
# --- Release ---
# --- Release ---
# ===============
# ===============
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment