UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
B
Beast Code
beast core
base image
Commits
87af2d50
Commit
87af2d50
authored
Nov 24, 2020
by
gavin.scallon
Browse files
Merge branch 'dockerfile-fix' into 'development'
Dockerfile fix See merge request
!13
parents
76a4cf4f
714d2c98
Pipeline
#84703
passed with stages
in 12 minutes and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
18 deletions
+17
-18
Dockerfile
Dockerfile
+17
-18
No files found.
Dockerfile
View file @
87af2d50
...
@@ -19,26 +19,25 @@ ARG UID=1000
...
@@ -19,26 +19,25 @@ ARG UID=1000
ARG
GID=1000
ARG
GID=1000
USER
root
USER
root
WORKDIR
/
WORKDIR
/
tmp
RUN
groupadd
--gid
$GID
$GROUPNAME
&&
\
COPY
dumb-init beast-core.tar.gz config/appsettings.json config/config.json scripts/start.sh LICENSE ./
useradd
--uid
$UID
--gid
$GID
$USERNAME
COPY
--chown=1000:1000 LICENSE beast-core.tar.gz ./
COPY
dumb-init /usr/local/bin/dumb-init
RUN
chmod
755 /usr/local/bin/dumb-init
&&
\
RUN
groupadd
--gid
$GID
$GROUPNAME
&&
\
yum
install
-y
libicu curl
&&
\
useradd
--uid
$UID
--gid
$GID
$USERNAME
&&
\
yum clean all
&&
\
yum
install
-y
libicu curl
&&
\
rm
-rf
/var/cache/dnf
&&
\
yum clean all
&&
\
tar
-zxf
beast-core.tar.gz
&&
\
rm
-rf
/var/cache/dnf
&&
\
chown
-R
$UID
:
$GID
./beast-core/
&&
\
tar
-zxf
beast-core.tar.gz
&&
\
rm
beast-core.tar.gz
rm
beast-core.tar.gz
&&
\
chown
-R
$UID
:
$GID
/tmp/
*
&&
\
COPY
--chown=1000:1000 scripts/start.sh /beast-core/
chmod
755 dumb-init start.sh
&&
\
mv
beast-core /beast-core
&&
\
COPY
config/appsettings.json config/config.json /beast-core/server/
mv
config.json /beast-core/server
&&
\
mv
start.sh /beast-core
&&
\
mv
dumb-init /usr/local/bin
&&
\
mv
LICENSE /
&&
\
rm
-rf
./
*
WORKDIR
/beast-core/server
WORKDIR
/beast-core/server
...
...
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