@ -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
@ -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='
'
cd
# Run program