Skip to content

doesn't build #16

@tmbdev

Description

@tmbdev

I tried building this from scratch, but no luck.

The top-level build (bash make-pgf.bash) doesn't actually download the necessary dictionary.

Trying to download it myself fails.

Here is my Dockerfile:

# Use the official Ubuntu 22.04 LTS base image
FROM ubuntu:22.04

# Set environment variables to non-interactive
ENV DEBIAN_FRONTEND=noninteractive

# Install necessary packages including GHC and Cabal
RUN apt-get update && apt-get install -y \
    curl \
    git \
    software-properties-common \
    build-essential \
    libgmp-dev \
    zlib1g-dev \
    ghc \
    cabal-install \
    ripgrep
    
RUN apt-get install -y swi-prolog

# Update Cabal and install GF
RUN cabal update \
    && cabal install gf-3.11

# Set the PATH environment variable to include the Cabal installation directory
ENV PATH="/root/.cabal/bin:${PATH}"

# Verify GF installation
RUN gf --version

RUN git config --global user.email "nobody@nowhere.com"
RUN git config --global user.name "Docker"
RUN git config --global --list

# Clone the ACE-in-GF repository
RUN git clone https://github.com/Attempto/ACE-in-GF.git /ACE-in-GF

# Build ACE-in-GF using GF
WORKDIR /ACE-in-GF
# RUN gf --make ACE.gf
#RUN bash make-pgf.bash

WORKDIR /ACE-in-GF/words/clex
RUN bash download_modified.sh
RUN build.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions