Washington (CNN) President Donald Trump signed the $1.3 trillion spending bill to keep the federal government open Friday behind closed doors, then emerged to excoriate Congress for passing the legislation in the first place.

Trump cited misgivings about its contents, but said he agreed to sign the bill to deliver a boost in defense spending -- repeatedly casting the decision as one in which he had "no choice."

"There are a lot of things I'm unhappy about in this bill. There are a lot of things that we shouldn't have had in this bill, but we were in a sense forced if we want to build our military," Trump said. "I said to Congress, I will never sign another bill like this again."

Trump lamented the "ridiculous situation that took place over the last week," pointing out that lawmakers had little time to read through the 2,232-page document, and grumbled about the high price tag, but cited few specific provisions he opposed.

Instead, he vented his frustrations about the compromise-riddled legislation that is largely a product of the narrow Republican majority in Congress and called on the Senate to eliminate the filibuster that requires a 60-vote majority.

Read More