Skip to content

Commit 8bd8663

Browse files
committed
Revert "Switched back to original image and switched to ping"
This reverts commit 28c0887.
1 parent 28c0887 commit 8bd8663

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

Dockerfile

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
1-
FROM ghcr.io/lambda-feedback/evaluation-function-base/wolfram:latest as base
1+
# FROM ghcr.io/lambda-feedback/evaluation-function-base/wolfram:latest as base
2+
FROM alpine:3.14
3+
4+
CMD ./test.sh
25

36

47
# Command to start the evaluation function with
58
# ENV FUNCTION_COMMAND="wolframscript"
6-
ENV FUNCTION_COMMAND="bash"
9+
# ENV FUNCTION_COMMAND="bash"
710

8-
# Args to start the evaluation function with
9-
# ENV FUNCTION_ARGS="-f,/app/evaluation_function.wl"
10-
ENV FUNCTION_ARGS="-f,/app/test.sh"
11+
# # Args to start the evaluation function with
12+
# # ENV FUNCTION_ARGS="-f,/app/evaluation_function.wl"
13+
# ENV FUNCTION_ARGS="-f,/app/test.sh"
1114

12-
# Interface to use for the evaluation function
13-
ENV FUNCTION_INTERFACE="file"
15+
# # Interface to use for the evaluation function
16+
# ENV FUNCTION_INTERFACE="file"
1417

15-
ENV LOG_LEVEL="DEBUG"
18+
# ENV LOG_LEVEL="DEBUG"
1619

17-
# Copy the evaluation function to the app directory
18-
COPY ./evaluation_function.wl /app/evaluation_function.wl
19-
COPY ./test.sh /app/test.sh
20+
# # Copy the evaluation function to the app directory
21+
# COPY ./evaluation_function.wl /app/evaluation_function.wl
22+
# COPY ./test.sh /app/test.sh

test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
echo TEST CODE FOR AWS
22
echo $WOLFRAMSCRIPT_ENTITLEMENTID
3-
echo Ping Google DNS
4-
ping 8.8.8.8
3+
echo Curling Google
4+
curl google.com

0 commit comments

Comments
 (0)