mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2026-02-07 18:26:41 +08:00
docker file fix
This commit is contained in:
parent
e21c20252b
commit
a5fdd7b9c8
@ -12,4 +12,4 @@ WORKDIR /$DEMO_HOME/build
|
|||||||
RUN cmake .. && make
|
RUN cmake .. && make
|
||||||
|
|
||||||
COPY dockerfiles/start-demo.sh /
|
COPY dockerfiles/start-demo.sh /
|
||||||
CMD bash start-demo.sh
|
CMD bash /start-demo.sh
|
||||||
|
|||||||
@ -4,7 +4,7 @@ metadata:
|
|||||||
name: shm-demo
|
name: shm-demo
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: function-1
|
- name: server
|
||||||
image: cheneyyu/shm-demo
|
image: cheneyyu/shm-demo
|
||||||
env:
|
env:
|
||||||
- name: ROLE
|
- name: ROLE
|
||||||
@ -13,7 +13,7 @@ spec:
|
|||||||
- name: cache-volume
|
- name: cache-volume
|
||||||
mountPath: /dev/shm
|
mountPath: /dev/shm
|
||||||
|
|
||||||
- name: function-2
|
- name: function-1
|
||||||
image: cheneyyu/shm-demo
|
image: cheneyyu/shm-demo
|
||||||
env:
|
env:
|
||||||
- name: ROLE
|
- name: ROLE
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user