Skip to content

Commit 28c0887

Browse files
committed
Switched back to original image and switched to ping
1 parent 63c6aa8 commit 28c0887

File tree

2 files changed

+13
-16
lines changed

2 files changed

+13
-16
lines changed

Dockerfile

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

63

74
# Command to start the evaluation function with
85
# ENV FUNCTION_COMMAND="wolframscript"
9-
# ENV FUNCTION_COMMAND="bash"
6+
ENV FUNCTION_COMMAND="bash"
107

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"
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"
1411

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

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

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
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

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 Curling Google
4-
curl google.com
3+
echo Ping Google DNS
4+
ping 8.8.8.8

0 commit comments

Comments
 (0)