Add OSEM_RUBY_VERSION as build argument on Docker setup
This commit is contained in:
parent
6e6a6dcd39
commit
6a9b8c9f2b
3 changed files with 3 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
FROM osem/base
|
||||
ARG CONTAINER_USERID
|
||||
ARG OSEM_RUBY_VERSION
|
||||
|
||||
# Configure our user
|
||||
RUN usermod -u $CONTAINER_USERID osem
|
||||
|
|
|
|||
|
|
@ -4,3 +4,4 @@ services:
|
|||
build:
|
||||
args:
|
||||
CONTAINER_USERID: 13042
|
||||
OSEM_RUBY_VERSION: 2.5.8
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ services:
|
|||
context: .
|
||||
args:
|
||||
CONTAINER_USERID: 1000
|
||||
OSEM_RUBY_VERSION: 2.5.0
|
||||
command: /osem/bin/osem-init.sh
|
||||
depends_on:
|
||||
- database
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue