Skip to content

Commit

Permalink
removed tabs from alpine command
Browse files Browse the repository at this point in the history
  • Loading branch information
aakritiawasthi committed Aug 19, 2024
1 parent d34d220 commit 5e4d55f
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -221,37 +221,34 @@ USER user
FROM alpine_root AS test_alpine_root_curl

RUN curl -sL https://raw.githubusercontent.com/metacall/install/master/install.sh | sh \
&& metacall /test/script.js | grep '123456' \
&& metacall deploy --version | grep -E '^v.*\..*\..*' \
&& metacall faas --version | grep -E '^v.*\..*\..*'

&& metacall /test/script.js | grep '123456' \
&& metacall deploy --version | grep -E '^v.*\..*\..*' \
&& metacall faas --version | grep -E '^v.*\..*\..*'

# Test install Alpine with root and wget
FROM alpine_root AS test_alpine_root_wget

RUN wget -O - https://raw.githubusercontent.com/metacall/install/master/install.sh | sh \
&& metacall /test/script.js | grep '123456' \
&& metacall deploy --version | grep -E '^v.*\..*\..*' \
&& metacall faas --version | grep -E '^v.*\..*\..*'

&& metacall /test/script.js | grep '123456' \
&& metacall deploy --version | grep -E '^v.*\..*\..*' \
&& metacall faas --version | grep -E '^v.*\..*\..*'

# Test install Alpine without root and curl
FROM alpine_user AS test_alpine_user_curl

RUN curl -sL https://raw.githubusercontent.com/metacall/install/master/install.sh | sh \
&& metacall /test/script.js | grep '123456' \
&& metacall deploy --version | grep -E '^v.*\..*\..*' \
&& metacall faas --version | grep -E '^v.*\..*\..*'
&& metacall /test/script.js | grep '123456' \
&& metacall deploy --version | grep -E '^v.*\..*\..*' \
&& metacall faas --version | grep -E '^v.*\..*\..*'


# Test install Alpine without root and wget
FROM alpine_user AS test_alpine_user_wget

RUN wget -O - https://raw.githubusercontent.com/metacall/install/master/install.sh | sh \
&& metacall /test/script.js | grep '123456' \
&& metacall deploy --version | grep -E '^v.*\..*\..*' \
&& metacall faas --version | grep -E '^v.*\..*\..*'

&& metacall /test/script.js | grep '123456' \
&& metacall deploy --version | grep -E '^v.*\..*\..*' \
&& metacall faas --version | grep -E '^v.*\..*\..*'

# Test update Alpine
FROM test_alpine_user_wget AS test_alpine_user_wget_update
Expand Down

0 comments on commit 5e4d55f

Please sign in to comment.