Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jscoq-light
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Hamelin
jscoq-light
Commits
12bd97e2
Commit
12bd97e2
authored
Jul 7, 2023
by
Shachar Itzhaky
Browse files
Options
Downloads
Patches
Plain Diff
[ci] Docker tweaks.
parent
2d0ce50e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
etc/docker/Dockerfile
+2
-2
2 additions, 2 deletions
etc/docker/Dockerfile
etc/docker/Makefile
+6
-6
6 additions, 6 deletions
etc/docker/Makefile
with
8 additions
and
8 deletions
etc/docker/Dockerfile
+
2
−
2
View file @
12bd97e2
...
...
@@ -90,7 +90,7 @@ RUN eval $(opam env) && make jscoq
RUN
eval
$(
opam
env
)
&&
make wacoq
# - dist tarballs
RUN
eval
$(
opam
env
)
&&
make dist
\
RUN
eval
$(
opam
env
)
&&
make dist
&&
make dist-npm
\
&&
mkdir
-p
dist
&&
mv
_build/dist/
*
.tgz dist
# --------------
...
...
@@ -117,7 +117,7 @@ RUN git clone --recursive -b ${ADDONS_BRANCH} ${ADDONS_REPO} jscoq-addons
WORKDIR
jscoq-addons
RUN
make set-ver
VER
=
`
jscoq
--version
`
RUN
eval
$(
opam
env
)
&&
make
CONTEXT
=
${
SWITCH
}
RUN
eval
$(
opam
env
)
&&
git pull
&&
git submodule update
&&
make
CONTEXT
=
${
SWITCH
}
# Private repos: re-enable SSH
COPY
Dockerfile _ssh* /root/_ssh/
...
...
...
...
This diff is collapsed.
Click to expand it.
etc/docker/Makefile
+
6
−
6
View file @
12bd97e2
...
...
@@ -27,7 +27,7 @@ BUILD_ARGS = BRANCH SUB_BRANCH NJOBS WORDSIZE \
JSCOQ_REPO JSCOQ_BRANCH WACOQ_BIN_REPO WACOQ_BIN_BRANCH
ARGS
=
$(
addprefix
--platform
,
$(
firstword
${
ARCH
}))
\
$(
addprefix
--build-arg
,
$(
BUILD_ARGS
))
$(
addprefix
--build-arg
,
$(
BUILD_ARGS
)
BUILDKIT_INLINE_CACHE
=
1
)
-include
_config.mk
...
...
@@ -64,7 +64,7 @@ wa-build-core:
wa-build-addons
:
wa-build-core
docker build
.
--target
wacoq-addons
$(
ARGS
)
-t
wacoq:addons
dist
:
js-dist
wa-dist
dist
:
js-dist
clean-dist
:
rm
-rf
./dist
...
...
@@ -72,8 +72,8 @@ clean-dist:
js-dist
:
clean-dist
docker run
--name
jscoq-get-dist jscoq:addons
\
sh
-c
'mkdir -p dist && cp _build/jscoq+*/*.tgz dist'
docker
cp
jscoq-get-dist:/root/jscoq/dist .
docker
cp
jscoq-get-dist:/root/jscoq-addons/dist .
docker
cp
--quiet
jscoq-get-dist:/root/jscoq/dist .
docker
cp
--quiet
jscoq-get-dist:/root/jscoq-addons/dist .
docker
rm
jscoq-get-dist
wa-dist
:
clean-dist
...
...
@@ -86,7 +86,7 @@ wa-dist: clean-dist
# For getting just the jsCoq package, w/o addons
js-dist-core
:
clean-dist
docker run
--name
jscoq-get-dist jscoq
docker
cp
jscoq-get-dist:/root/jscoq/dist .
docker
cp
--quiet
jscoq-get-dist:/root/jscoq/dist .
docker
rm
jscoq-get-dist
# For updating the dist with the result of incremental build
...
...
@@ -146,4 +146,4 @@ dist-serve:
npx http-server
-p
8080 dist
ci
:
make clean
&&
make js-build
wa-build
&&
make dist
make clean
&&
make js-build
&&
make dist
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
sign in
to comment