diff --git a/go/exam/Dockerfile b/go/exam/Dockerfile index f68e02b89..968843e93 100644 --- a/go/exam/Dockerfile +++ b/go/exam/Dockerfile @@ -4,7 +4,6 @@ ENV GIT_TERMINAL_PROMPT=0 RUN apk add --no-cache git RUN go get golang.org/x/tools/cmd/goimports RUN go get github.com/01-edu/z01 -RUN go get github.com/01-edu/public/go/tests/rc COPY --from=mkcert-ca . /usr/local/share/ca-certificates RUN update-ca-certificates COPY entrypoint.sh /usr/local/bin diff --git a/go/exam/entrypoint.sh b/go/exam/entrypoint.sh index f60b3c1b1..0ce92202f 100755 --- a/go/exam/entrypoint.sh +++ b/go/exam/entrypoint.sh @@ -21,15 +21,6 @@ if test "$s"; then exit 1 fi -# Check restrictions -if test "$ALLOWED_FUNCTIONS" && test "$EXPECTED_FILES"; then - IFS=' ' - # shellcheck disable=SC2086 - rc "$first_file" $ALLOWED_FUNCTIONS - IFS=' -' -fi - cd # Run program