Created
June 11, 2024 13:55
-
-
Save TharmiganK/098fa51acefb97e9790b8e2985f28999 to your computer and use it in GitHub Desktop.
Docker file to reproduce no such field error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM eclipse-temurin:17.0.7_7-jdk | |
# Install Docker | |
RUN apt-get update && \ | |
apt-get -qy full-upgrade && \ | |
apt-get install -qy curl && \ | |
curl -sSL https://get.docker.com/ | sh | |
# Install Git | |
RUN apt-get install -y git | |
# Clone the repository | |
RUN git clone https://github.com/ballerina-platform/module-ballerina-graphql.git | |
# Set the working directory | |
WORKDIR /module-ballerina-graphql | |
# Set environment variables | |
ENV packageUser <packageUser> | |
ENV packagePAT <packagePAT> | |
# Build the project | |
RUN ./gradlew clean build -x test | |
# Run the tests | |
RUN ./gradlew test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment