Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-console
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Javier Larrosa
web-console
Commits
d620a081
Commit
d620a081
authored
May 27, 2022
by
Carlos Herrero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cambios en dockerfile
parent
929090f3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
Dockerfile
Dockerfile/Dockerfile
+1
-3
VERSION
Dockerfile/VERSION
+1
-1
build.sh
Dockerfile/build.sh
+1
-3
No files found.
Dockerfile/Dockerfile
View file @
d620a081
...
...
@@ -14,8 +14,6 @@ RUN rpm --import https://dl.yarnpkg.com/rpm/pubkey.gpg
RUN
yum
-y
install
yarn
ARG
BRANCH
ARG
VERSION
RUN
wget https://dl.google.com/go/go1.17.1.linux-amd64.tar.gz
...
...
@@ -27,7 +25,7 @@ RUN echo "export PATH=$PATH:/usr/local/go/bin" >> $HOME/.bash_profile && \
RUN
echo
"
$VERSION
ver 4"
RUN
git clone http://gitlab.hiperpbx.com/javier.larrosa/web-console.git
-b
$BRANCH
RUN
git clone http://gitlab.hiperpbx.com/javier.larrosa/web-console.git
RUN
cd
web-console/web
&&
\
yarn
install
&&
\
...
...
Dockerfile/VERSION
View file @
d620a081
1.0.
0
1.0.
1
Dockerfile/build.sh
View file @
d620a081
#!/bin/bash
BRANCH
=
$1
VERSION
=
$2
VERSION
=
$1
echo
"
${
VERSION
}
"
>
VERSION
docker build
\
--build-arg
VERSION
=
$VERSION
\
--build-arg
BRANCH
=
$BRANCH
\
-t
registry.hiperpbx.com/web-console:
$VERSION
\
.
...
...
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