mirror of https://github.com/status-im/consul.git
PR fixes
This commit is contained in:
parent
26f53e82b5
commit
0402cc16bf
|
@ -4,8 +4,8 @@ on:
|
|||
push:
|
||||
# Sequence of patterns matched against refs/heads
|
||||
branches:
|
||||
# Push events on crt-consul-migration branch
|
||||
- release/1.11.x
|
||||
# Provide the release branch
|
||||
|
||||
env:
|
||||
PKG_NAME: consul
|
||||
|
||||
|
@ -22,8 +22,7 @@ jobs:
|
|||
- name: get product version
|
||||
id: get-product-version
|
||||
run: |
|
||||
build-support/scripts/version.sh -r
|
||||
IFS="-"; OUTPUT=$(make -f Makefile version);
|
||||
IFS="-"; OUTPUT=$(build-support/scripts/version.sh -r);
|
||||
read -a V <<< "$OUTPUT"; unset IFS;
|
||||
|
||||
VERSION=${V[0]}
|
||||
|
|
|
@ -35,10 +35,6 @@ RUN mkdir -p /consul/data && \
|
|||
mkdir -p /consul/config && \
|
||||
chown -R consul:consul /consul
|
||||
|
||||
# set up nsswitch.conf for Go's "netgo" implementation which is used by Consul,
|
||||
# otherwise DNS supercedes the container's hosts file, which we don't want.
|
||||
#RUN test -e /etc/nsswitch.conf || echo 'hosts: files dns' > /etc/nsswitch.conf
|
||||
|
||||
# Expose the consul data directory as a volume since there's mutable state in there.
|
||||
VOLUME /consul/data
|
||||
|
||||
|
|
Loading…
Reference in New Issue